-
-
Notifications
You must be signed in to change notification settings - Fork 954
Fetch updated repository from default branch #1384
Unanswered
dsharma522
asked this question in
Q&A
-
There is a case where the repository have only One branch and that it default_branch itself (master
).
Now the default branch itself changed to main
(master -> main)
. As branch name is changed ,
repo.git.fetch()
is failing which is quite obvious.
How we can set local repository with the upstream repository in this case. ? There is Only One branch (default_branch)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment