Skip to content

Instantly share code, notes, and snippets.

@radkris-git
Created July 21, 2015 19:34
Show Gist options
  • Save radkris-git/89d892e8458686007e39 to your computer and use it in GitHub Desktop.
Save radkris-git/89d892e8458686007e39 to your computer and use it in GitHub Desktop.
Git flow for new fork mechanism
1. Fork a git repo
2. How to sync master to my fork?
1. git add remote original git@github.com
2. git pull --rebase original master
3. git push origin master
3. git checkout -b <tmp-branch>
1. git push origin tmp-branch
2. Merge Pull request.
3. git pull --rebase original master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment