Skip to content

Instantly share code, notes, and snippets.

@joecritch
Created February 2, 2012 13:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joecritch/1723442 to your computer and use it in GitHub Desktop.
Save joecritch/1723442 to your computer and use it in GitHub Desktop.
Git add & commit shortcut
git config --global alias.ac '! git add -A && git commit -m'
@joecritch
Copy link
Author

Usage:

git ac "My commit message"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment