Skip to content

Instantly share code, notes, and snippets.

@darong-khalibre
Last active January 2, 2016 18:59
Show Gist options
  • Save darong-khalibre/8347075 to your computer and use it in GitHub Desktop.
Save darong-khalibre/8347075 to your computer and use it in GitHub Desktop.
git commit with notepad++
src: http://stackoverflow.com/questions/10564/how-can-i-set-up-an-editor-to-work-with-git-on-windows/1431003#1431003
git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
or
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
@darong-khalibre
Copy link
Author

edit in ~/.gitconfig

[core]
editor = 'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment