2 ms·
The save command can be rewritten to 'git commit -am "save"' for brevity (caveat: I don't know if -A is different from -a for the two commands).
by Cthulhu_ 3y ago
The save command can be rewritten to 'git commit -am "save"' for brevity (caveat: I don't know if -A is different from -a for the two commands).
- xorcist 3y agoNot really. It's in the manpage: commit -a Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected. add -A Update the index[...] This adds, modifies, and removes index entries to match the working tree. So commit -a won't track new files, but add -A will.