4 ms·
I'm not sure how you use --amend to do partial commits of a file.
by Arelius 5y ago
I'm not sure how you use --amend to do partial commits of a file.
- jcranmer 5y agoWell, that would be solved with --interactive, would it not?
- atombender 5y ago"git commit" takes the -p (or --patch) flag for partial commits of a file, just like "git add". (Some people prefer --interactive, but I think the patch mode is significantly superior.)