Easy and Fast Git rebase/reword

I'm working alone on a Git repository for months. I'd like now to push my commits to a public repository, however, I'd like to improve the commit messages (mainly translate them to English).

I know I can do git rebase -i then reword each message. But that will open my editor for each message I want to edit and that's too long for me (hundreds of commits to reword). I'd rather be able to edit the messages at once and apply the modifications.

I'm looking for such a tool that allows me to edit the commit messages on a single window and apply the changes at once in background. For instance, I could have the list of commit messages, I could double-click on a message to edit it, change another, go back to fix a typo and when I'm done with all the changes, I could apply them at once.

Answers


You can pass a script to rewrite commit messages to filter-branch:

git filter-branch -f --msg-filter "...script command here..."

It should be easy to massage the plain commit message output:

git log --pretty=tformat:%B

Into a Perl, Python or sed script that replaces it with the corrected version.


Need Your Help

Finding intersections

python performance algorithm optimization localization

Given a scenario where there are millions of potentially overlapping bounding boxes of variable sizes less the 5km in width.

WPF DataGrid not appear in Toolbox?

datagrid wpftoolkit toolbox .net-4.0 wpf-4.0

I am working with Visual studio 2008. I want to work on WPF DataGrid control.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.