I am finding myself annoyed at having to run the full procedure to amend commits in git and I was wondering which was the best way of automate them. So, instead of doing this:
$> git add .
$> git commit --amend
$> git push -f
I'd love to do this
$> amend_commit
Is shell scripting the only way to do it? I am using ZSH.
Thank you all.