This commit is contained in:
armistace 2025-05-30 16:59:53 +10:00
parent d6d3e2f3af
commit 3a909f5ac1

View File

@ -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: