Last Updated: February 25, 2016
·
511
· 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'