Skip to content

Commit

Permalink
git: Fetch all branches from all remoes
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Jul 1, 2024
1 parent ec31668 commit 1960442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions central/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def clone(self, origin):
def fetch(self):
self.git_cli("fetch", "--all", "--tags", "--prune")
self.git_cli("update-ref", "HEAD", "FETCH_HEAD")
self.git_cli("fetch", "origin", "refs/heads/*:refs/heads/*")

def commit_log(self, hash, format):
return self.git_cli("log", "-1", f"--format=format:{format}", hash)
Expand Down

0 comments on commit 1960442

Please sign in to comment.