Answer the question
In order to leave comments, you need to log in
How to configure in git Local branches configured for 'git pull'?
How to configure Local branches configured for 'git pull' and Local refs configured for 'git push' in git?
That is, add and remove branches from there
Answer the question
In order to leave comments, you need to log in
I can't quite understand the question, I'll answer as I understand it.
This seems to be about the correspondence of local branches to remote ones. For a branch, it can be separately configured where it is pushed and where it is pulled from. We have a git remote show origin command, it gives three lists:
I will continue to call on these numbers.
Suppose we have a remote origin and a local branch branch_name , which we have not yet uploaded to the remote repository. Now it is missing from all three lists.
You can specify a different remote branch name: what:where
To set up git pull for the current branch :
Create a branch and move to it
Connect the remote branch to pull
for the current branch Clear the pull information
Write if it helped or not.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question