JimmyLiao

JimmyLiao Notes: Developer, Runner, Thinker

Sign-off for previous git commit

2022-01-11 Git

To signoff the previous commit, use amend option.

git commit --amend --no-edit --signoff
git push --force-with-lease origin <your-feature-branch>

Enjoy!

comments powered by Disqus