git config core.editor notepad
, users can now use notepad.exe
as their default editor.Configuring
git config format.commitMessageColumns 72
will be picked up by the notepad wrapper and line-wrap the commit message after the user edited it.http://stackoverflow.com/a/773973/2564525