Open Git Bash with default path
Problem: Every-time I launch git bash I need to traverse to the work-space directory that I am working on.
Solution:
There are different ways you could do this:
the easiest is to Right click on the Windows shortcut that you use to launch git bash, and click Properties. Change the value of "Start In" to your desired workspace path
Or use ConEmu where you have a task for starting Git Bash like
Or Add the line to the .bashrc file in the home directory (create the file if it doesn't exist):
cd ~
touch .bashrc
echo "cd ~/Desktop/repos/" >> .bashrc
Comments
Post a Comment