How to make Git-bash command line start up with home directory?

后端 未结 2 570
心在旅途
心在旅途 2021-01-24 18:56

Git-bash.exe is installed at this location:

C:\\Program Files\\Git

Git-bash.exe starts up with these prompts:

bash: /c/Users/Go         


        
相关标签:
2条回答
  • 2021-01-24 19:13

    Start your git bash with a /dir like this: git-bash.exe /dir "C:\Users\GodCoder"

    0 讨论(0)
  • 2021-01-24 19:14

    If you are on Windows, do this 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 i.e. Replace the start in values with "C:\Users\GodCoder"

    For more information go to this link: https://classroom.udacity.com/courses/ud775/lessons/2980038599/concepts/33417185870923 It may help you in setting up your enviroment further and also, make sure you restart the application or even the pc and try running in admin or different user modes too!

    0 讨论(0)
提交回复
热议问题