Skip to content

Instantly share code, notes, and snippets.

@horninc
Created November 21, 2017 14:33
Show Gist options
  • Save horninc/0e6f96a3099cf41a16a5f821a097cc42 to your computer and use it in GitHub Desktop.
Save horninc/0e6f96a3099cf41a16a5f821a097cc42 to your computer and use it in GitHub Desktop.
Combine both add and commit commands into a "git do"
git config --global alias.do '!git add -A && git commit -a'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment