After a review, i need to change some code and repush all my change code on the remote branch.
So i would like to automate on git with an alias (ex: git repushall
) these different commands:
git add .
git commit --amend
(and ctrl + x)
git push --force-with-lease
I know it's in the .gitconfig
file
Do you have any idea ?