git - Change previous commit message after merging with another branch -


i have situation need change commit message of previous commit on branch (lets call brancha). understand can change message using interactive rebase on branch git rebase -i <commit-number>.

the problem have merged branch local branch (branchb). issue need change commit message in both brancha , branchb. merge performed fast-forwarding disabled (e.g. git merge --no-ff brancha).

am correct git consider target commit in these 2 branches separate commits? reason assume git sees same commit in brancha , branchb separate because when updated commit message in brancha, same commit in branchb remained unchanged.

does mean need perform interactive rebase on both branches change message on each? if way, result in issues later in terms of merging, etc.?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -