V
V
Vladimir Borovik2015-02-14 19:20:26
git
Vladimir Borovik, 2015-02-14 19:20:26

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
b0b0816a9602468ebd6c9d6752e437f8.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Volynkin, 2015-05-14
@borovik_96

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 question

Ask a Question

731 491 924 answers to any question