Skip to content

Instantly share code, notes, and snippets.

@joecritch
Created February 2, 2012 13:21
Show Gist options
  • Select an option

  • Save joecritch/1723442 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
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