Skip to content

Can I fork a repository multiple times #190

Answered by Sneha123-zudo
reshamsai150 asked this question in Q&A
Discussion options

You must be logged in to vote

@reshamsai150
You don't need to fork the repo again and again. Once you have forked it and clone it to your local then you don't have to fork it again .
Yeah , but you have to get updated your forked repo means as everyone contributing to that project so there must be some changes so you have to update it in your local.
You can do it by copying the code of main repo as you do during cloning. And command should be:-

  1. git remote add upstream
  2. git pull upstream main
  3. git pull upstream main --rebase

By this you can update your fork.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by reshamsai150
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants