Web lists-archives.org

Re: How to edit commit messages?




dr.chiarello@xxxxxxxxx writes:

> Hi all,
>   what are the best solution to:
> 1) interactively edit commit's messages (some or all)

  git rebase -i

can help.

> 2) batch edit commit's messages (for example using sed)

  git filter-branch --msg-filter sed 's/foo/bar/'

should do it.

-- 
Matthieu
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html