diff --git a/central/git.py b/central/git.py index 9320873..0d31358 100644 --- a/central/git.py +++ b/central/git.py @@ -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)