• How can I use Notepad++ to edit my git commit messages?

    Posted on January 11, 2012 by in tools

    I know there are a lot of options out there when it comes to basic text editors, but for some reason I gravitate towards Notepad++ every time. It’s clean, fast, and handles all files I have thrown at it very well. With my recent usage of git for my projects, I wanted to use a familiar editor for my commit messages. Simply put, the vim editor default is complicated and cumbersome, and frankly I have enough things to remember then try and remember all the keystrokes in vim. So I wanted to use notepad++, since it is my editor of choice.

    Connecting it to git the normal way (setting the core.editor to the notepad++.exe file) was not working so I hit the web to find a solution, and David Cole posted the following:

    $ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe'\ -multiInst -notabbar -nosession -noPlugin"

    Check out the source links to check out Notepad++ and also view David Cole’s post.

    Notepad++ (or download from Filehippo.com)
    Source: The Kitware Blog (David Cole)

    Post Tagged with , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

507 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>