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
Create .bash_profile file under C:\Users\YourUserName\ and add the following line in the file:
.bash_profile
C:\Users\YourUserName\
alias 'subl="/c/Program Files/Sublime Text 3/subl.exe"'