whats a git command to git add -A and git commit --amend in one line? Also I don't want to specify message or use multiple lines when amending.
To keep the same message you used on the revision you want to amend, use --no-edit. In one line, you can just separate with ;
git add -A; git commit --amend --no-edit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With