Browse Source

walle 2.1 - fix #743 tag发布更新

walle 6 years ago
parent
commit
585b66b69f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      walle/service/git/repo.py

+ 1 - 0
walle/service/git/repo.py

@@ -84,6 +84,7 @@ class Repo:
         '''
         PyRepo(self.path).git.checkout(branch)
         # PyRepo(self.path).head.set_reference(branch)
+        # 方法有问题,只是做了reset,没有checkout
         PyRepo(self.path).head.set_commit(commit)
 
     def checkout_2_tag(self, tag):