N
N
Nikita Rukavkov2018-10-29 14:50:01
git
Nikita Rukavkov, 2018-10-29 14:50:01

How to rewrite all commit messages in git?

Is there a way to rewrite all Commit messages in all revisions depending on which branch the commit was made in?
For example, there was a commit to the fix-123321 branch with a commit message "fix"
And what I need is:
TaskId: #123321
fix

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-10-29
@nicosha

git filter-branch
hashes will all change when rewritten, as already noted here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question