DEV Community

Discussion on: OpenCommit: GitHub Action to improve commits with meaningful messages on every `git push` 🤯🔫

Collapse
 
goodevilgenius profile image
Dan Jones

But you had to do a git pull --rebase which, it would seem, wiped out the original commit, probably because it's now empty. If you'd done just git pull, without the rebase, you'd have a conflict.

All this rewriting of history after it's been pushed to a public remote repo seems pretty messy.

Thread Thread
 
disukharev profile image
Dima Sukharev • Edited

no bro, if you do pull --no-rebase it's same, no conflicts are there because opencommit doesn't change any code, only message. SHA becomes different, but git doesnt create any conflicts you would need to solve, because code is same.. all good :)