Skip to content

Commit 395d0e6

Browse files
committed
fixed mistake when checkout existing branch
1 parent ba47f4f commit 395d0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitFunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def replaceauthor(author, email):
7575
def branch(branchname):
7676
branchexist = shell.execute("git show-ref --verify --quiet refs/heads/" + branchname)
7777
if branchexist is 0:
78-
Commiter.checkout("git checkout " + branchname)
78+
Commiter.checkout(branchname)
7979
else:
8080
shell.execute("git checkout -b " + branchname)
8181

0 commit comments

Comments
 (0)