Skip to content

Instantly share code, notes, and snippets.

@JackNicholas
Created December 27, 2013 08:16
Show Gist options
  • Save JackNicholas/8144052 to your computer and use it in GitHub Desktop.
Save JackNicholas/8144052 to your computer and use it in GitHub Desktop.
git config shortcuts and basic set up
shortcuts
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
basic set up
git config --global user.name "Your Name"
git config --global user.email you@example.com
settings are stored in ~/.gitconfig
Refs and thanks to:
http://stackoverflow.com/questions/10946893/git-name-and-email-address-configuration
http://alvinalexander.com/git/git-shortcuts-aliases-long-commands-how-to-create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment