标签: python gitpython
我想查看git repo的特定版本。如何使用GitPython做到这一点?
# GitPython==1.0.1 from git import Repo r = Repo.clone_from(git_url, repo_dir) #r.checkout(revision) # How to do this?