Skip to content

Instantly share code, notes, and snippets.

@kenmazaika
Forked from MarcoMorawec/git.md
Created November 15, 2013 20:17
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 kenmazaika/7490903 to your computer and use it in GitHub Desktop.
Save kenmazaika/7490903 to your computer and use it in GitHub Desktop.

Marco's Powerful Git Commands (standard)

  • git add --all : add everything that has been changed to the git
  • git status : tell me about the changes on the git repo
  • git commit -am "omg cats" : make a commit, with a note of "omg cats"
  • git push origin master : push the changes up to github
  • git push heroku master : push the changes up to heroku (the web environment). This is aka deploying.

More useful commands (extention)

  • git diff : show me all the changes that I have made, but haven't snapshotted yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment