Skip to content

sumit-kr-das/git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

How to keep up to date a forked repo

forked_demo

Clone the repo first

  $ git clone <url>

Check the remote origin

  $ git remote -v

Add a new upstream

  • upstream mean where you get the update from
  $ git remote add upstream <upstream link>

Check the new upstream

  $ git remote -v

For update origin with changes that happened in upstream

  • or pull down all the remote changes from upstream
  • they are not merge with our local changes
  $ git fetch upstream

For merge with local file

  $ git merge upstream/dev

About

Basic git command for beginners

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published