-
-
Save versedi/d0a1f6635e300a7570fe to your computer and use it in GitHub Desktop.
Cygwin + git + Sublime Text 3 commit message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Remember to have environment variable in Windows set also to /usr/local/bin | |
#File /usr/local/bin/subl with chmod +x, content: | |
#!/bin/bash | |
/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe `cygpath -w $PWD/.git/COMMIT_EDITMSG` -w | |
#File ~/.gitconfig | |
[core] | |
... | |
editor = subl -w | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the start, I added full support to files and git (amend, tag, ...)
https://gist.github.com/cmalard/16c58869319c9a88473ec08cc7989c6b