Skip to content

Instantly share code, notes, and snippets.

@oprypin
Created April 1, 2018 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oprypin/5bb0a8cbe51e337adce335b3cf68ec39 to your computer and use it in GitHub Desktop.
Save oprypin/5bb0a8cbe51e337adce335b3cf68ec39 to your computer and use it in GitHub Desktop.
GitHub fork workflow
$ git remote -v
fork https://github.com/oprypin/crystal (fetch)
fork https://github.com/oprypin/crystal (push)
origin https://github.com/crystal-lang/crystal (fetch)
origin https://github.com/crystal-lang/crystal (push)
$ git checkout master
$ git pull
$ git checkout -b new-stuff
$ git commit
$ git push fork new-stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment