Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
directory = repo.directory r = git.Repo(directory) if r: r.git.reset('--hard') if r.remotes[repo.remote]: r.remotes[repo.remote].pull()
または呼び出しrを含む、オブジェクトの操作の stdout を保存したい- どうすればこれを行うことができますか?.reset.pull
r
.reset
.pull