git checkout sha
This commit is contained in:
parent
3dc27cc868
commit
8ca668f07e
1 changed files with 2 additions and 1 deletions
|
|
@ -27,4 +27,5 @@ class GitService:
|
||||||
return Repo(config.path)
|
return Repo(config.path)
|
||||||
|
|
||||||
def checkout(self, sha: str):
|
def checkout(self, sha: str):
|
||||||
pass
|
self._origin.fetch()
|
||||||
|
self._repo.git.checkout(sha)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue