Compare commits
No commits in common. "241c4ba1c51ad59de26edbb524436ccd8f67cd51" and "ce2ccfa802adfc62cb2954bad3f1c8eba320a877" have entirely different histories.
241c4ba1c5
...
ce2ccfa802
Binary file not shown.
|
|
@ -33,7 +33,6 @@ class ProjectInit(Task):
|
|||
|
||||
repo.git.fetch(remote_name)
|
||||
|
||||
if repo.active_branch.name != branch_name:
|
||||
# 2. 创建本地分支并跟踪远程分支
|
||||
remote_branch_ref = f"{remote_name}/{branch_name}"
|
||||
local_branch = repo.create_head(branch_name, remote_branch_ref) # 创建本地分支指向远程
|
||||
|
|
|
|||
Loading…
Reference in New Issue