3 ms·
>cm = !git add -A && git commit -m I think it's a better idea to use git add -p to review your changes before commiting them.
by kpcyrd 12y ago
>cm = !git add -A && git commit -m
I think it's a better idea to use git add -p to review your changes before commiting them.
- jdowner 12y agoAlternatively, 'git commit -v' also provides a way to review the changes before you commit them. If you are not going to 'cherry-pick' the changes for the commit, this has the added benefit of showing all the whole diff at once.