I would like to ask you guys how to change the starting folder in git-bash? I tried to paste the path in "start in" in the properties but somehow it does not work. Thanks
Asked
Active
Viewed 103 times
0
-
"In Git"? Do you mean the Git Bash terminal in Windows? – CodeCaster Mar 22 '18 at 12:09
-
2What do you mean? How are you using git? – evolutionxbox Mar 22 '18 at 12:09
-
1You're going to have to be a lot more specific. For what reason are you trying to share a folder and with whom? What properties were you looking at? – sherrellbc Mar 22 '18 at 12:09
-
2https://stackoverflow.com/questions/7671461/how-do-i-change-the-default-location-for-git-bash-on-windows – CodeCaster Mar 22 '18 at 12:10
-
Apologies I should be more specific. I pinned git bash to my taskbar and when I click it it starts in the default git folder but I want it to start it in my project folder. I checked one of the answers in the "Possible duplicate" comment. I created .bashrc file and added this line cd \D:\Programming\php_and_laravel\php_code_examples; It returns the message that this directory does not exist. – mtrobert Mar 22 '18 at 12:39
-
Sorted, I forgot to change backslashes for forward slashes in the .bashrc file in the path to my project folder – mtrobert Mar 22 '18 at 12:42
-
You might want to update your question as it doesn't refer to `git` but `git-bash` instead. – evolutionxbox Mar 22 '18 at 13:56