- cross-posted to:
- git
- cross-posted to:
- git
You must log in or register to comment.
At my work, the ci pipeline has a step where the commit messages are checked. If this step fails then the branch cannot be merged. So if someone fucks up a commit message, there is no way other than rebasing to fix the message if “git commit --amend” doesn’t cut it.
Not saying that rebase is not useless btw. Because I think this check for commit messages is useless as well.
The only thing I can think of that rebase is useful for is for cleaning up the commit history. I don’t know how useful that is since I like to squash before merging anyway.