typo
This commit is contained in:
parent
d6d3e2f3af
commit
3a909f5ac1
@ -66,7 +66,7 @@ class GitRepository:
|
|||||||
def create_and_switch_branch(self, branch_name, remote_name='origin', ref_name='main'):
|
def create_and_switch_branch(self, branch_name, remote_name='origin', ref_name='main'):
|
||||||
"""Create a new branch in the repository with authentication."""
|
"""Create a new branch in the repository with authentication."""
|
||||||
try:
|
try:
|
||||||
pring(f"Creating Branch {title}")
|
print(f"Creating Branch {branch_name}")
|
||||||
# Use the same remote and ref as before
|
# Use the same remote and ref as before
|
||||||
self.repo.git.branch(branch_name)
|
self.repo.git.branch(branch_name)
|
||||||
except GitCommandError:
|
except GitCommandError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user