How to add upstream/topic_branch to local, forked repo #23033
-
The following scenario is given:
How can I add (clone or download, what ever) the new ABC_branch to my local repository without touching my local master or any other existing branch? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @max123kl, Thank you for being here! |
Beta Was this translation helpful? Give feedback.
-
If you have a remote in your local repository named
Then, if you want to have
I hope that helps! |
Beta Was this translation helpful? Give feedback.
If you have a remote in your local repository named
upstream
that points to their repository and a remote namedorigin
that points to your GitHub repository, you can do the following:Then, if you want to have
ABC_branch
in your fork of their repository, you can use:I hope that helps!