How to specify a branch for pull? #1471
Answered
by
Byron
harsiddhdave44
asked this question in
Q&A
|
I've been looking for the Python version of the following git command: Could someone please explain to me why the pull function doesn't have any parameter for this, and how can I specify the branch for the pull? |
Answered by
Byron
Jul 23, 2022
Replies: 1 comment
|
It's possible to configure the refspec as first argument to |
0 replies
Answer selected by
Byron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's possible to configure the refspec as first argument to
pull(as documented in the fetch method) can berefs/heads/local-branch:refs/heads/upstream-branchto fetchupstream-branchand bring it intolocal-branch.