Skip to content

Instantly share code, notes, and snippets.

@siumhossain
Created January 30, 2021 07:14
Show Gist options
  • Save siumhossain/d80bcb69f4ab4e2ebcd52d4ebcbe273d to your computer and use it in GitHub Desktop.
Save siumhossain/d80bcb69f4ab4e2ebcd52d4ebcbe273d to your computer and use it in GitHub Desktop.
keep update fork project with main project
$ git remote add upstream [link]
$ git branch
$ git fetch --all
$ git pull --rebase upstream master
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment