Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Did I get this right?

Solved! Go to Solution.

I want to fork a third party project in my private repository, store my new modifications in a "dev" branch and keep the repository up to date with the upstream commits.



  1. git clone <url>
  2. git branch dev
  3. git checkout dev



  1. git fetch
  2. git checkout dev
  3. git rebase upstream/master


Is this correct?

2 Replies
Community Manager
Message 2 of 3

Re: Did I get this right?

HI @beppe9000,


Thanks for being here! Yes, you are correct to keep your fork up to date:



git fetch upstream

git rebase upstream/master


Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 3

Re: Did I get this right?

thanks so the upstream parameter was needed