How do I open Sublime text from Git Bash in Windows? I tried adding the alias at the ~/.bashrc file but nothing worked. I was looking for something very easy but I could not fin
I followed what Cristiano Ferro did, and if you would like to commit a message with Sublime Text 3, paste this in your git.
Assuming the program is installed in Program Files
:
export GIT_EDITOR='C:\\Program\ Files\\Sublime\ Text\ 3\\sublime_text.exe'
After this, you can run git commit
, and it will open Sublime Text 3.