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 had the same issue launching Sublime Text 3 form Git Bash.
I ran the following command (my OS was windows 7 and Sublime Text 3 was located in the "C:\Program Files\Sublime Text 3
" directory) :
echo 'alias subl="/C/Program\ Files/Sublime\ Text\ 3/sublime_text.exe
"' >> ~/.bashrc
Close Git Bash and Open it again.