Last Updated: February 25, 2016
·
506
· ohrobot

Combine git add and commit in one shortcut

Set shortcut

git config --global alias.ac '!git add -A && git commit'

Usage

git ac -m 'commit message'