Skip to content

Instantly share code, notes, and snippets.

@artjumble
Created September 26, 2013 18:13
Show Gist options
  • Save artjumble/6718241 to your computer and use it in GitHub Desktop.
Save artjumble/6718241 to your computer and use it in GitHub Desktop.
Short list of git commands w/descriptions.
git add (add new files)
git commit -m "Message" (commit with message)
git checkout <name> (switch to branch)
git checkout -b <name> (create branch <name> and switch to it)
git merge <name> (merge <name> branch into current brnach)
git branch -d <name> (delete <name> branch)
git status (status of current branch)
git branch (list all branches)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment