Compare commits
39
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6d3e2f3af | ||
|
|
0fc39350b0 | ||
|
|
0e71556c15 | ||
|
|
9c9451d4e5 | ||
|
|
3165a9ae08 | ||
|
|
99c3cbdb7f | ||
|
|
ce24a011ed | ||
|
|
ae96075275 | ||
|
|
641f11e0aa | ||
|
|
7c724d8177 | ||
|
|
b87dc1da9e | ||
|
|
a3db1ae993 | ||
|
|
67070df04b | ||
|
|
a877cdc464 | ||
|
|
f2b862bb75 | ||
|
|
1630df04e6 | ||
|
|
c3c4445d33 | ||
|
|
9b57e2b9ea | ||
|
|
20233b6264 | ||
|
|
4e65c60611 | ||
|
|
d91d82b281 | ||
|
|
9e9ac7b99d | ||
|
|
328e870bf0 | ||
|
|
546b86738a | ||
|
|
1bb99c2343 | ||
|
|
c5444f1a7f | ||
|
|
4119b2ec41 | ||
|
|
01b7f1cd78 | ||
|
|
c606f72d90 | ||
|
|
8a64d9c959 | ||
|
|
0c090c8489 | ||
|
|
e0b2c80bc9 | ||
|
|
44141ab545 | ||
|
|
e57d6eb6b6 | ||
|
|
c80f692cb0 | ||
|
|
bc2f8a8bca | ||
|
|
e7f7a79d86 | ||
|
|
9b11fea0e7 | ||
|
|
6320571528 |
@@ -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:
|
||||||
print(f"Creating Branch {branch_name}")
|
pring(f"Creating Branch {title}")
|
||||||
# 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user