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