I have to sign off my every commit to push to the origin. However, merge commits are not signed off, I use sourcetree and also the git console, could not sign-off a merge commit. Is there a way that could be done?
You can run git commit --amend --no-edit -s
after merge is done.
You can do a merge without committing:
git merge --no-commit
Git prepares everything for committing. After that you finish the merge with
git commit -s
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