How to change git shell's start directory in windows 7

前端 未结 6 1860
鱼传尺愫
鱼传尺愫 2021-02-05 01:10

I downloaded and installed the programs offered by GitHub including Git Shell.

The problem is that I want to set up the home directory of the Git Shell program to a cust

6条回答
  •  后悔当初
    2021-02-05 01:53

    Other answers didn't work for me, and I am on Windows 10. So for those looking for another way I added a line to my ~/.bashrc: cd /c/myfoldername

    Works like a charm

提交回复
热议问题