Skip to content

Instantly share code, notes, and snippets.

@brookskindle
Created January 31, 2013 03:30
Show Gist options
  • Save brookskindle/4679782 to your computer and use it in GitHub Desktop.
Save brookskindle/4679782 to your computer and use it in GitHub Desktop.
push vs push -u
git push -u github master
is way better than
git push github master.
-u allows you to push your master branch to github with more ease in the future:
from then on, just type
git push
and as long as you're on your master branch, it will automatically push your master branch to github!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment