Running Git through Cygwin from Windows

前端 未结 4 1622
孤独总比滥情好
孤独总比滥情好 2020-12-02 11:30

I have started using Cygwin recently for other purposes and already have Git installed on my PC. I understand I can run the executable and install Git into Cygwin, but since

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 11:52

    Isn't this as simple as adding your git install to your Windows path?

    E.g. Win+R rundll32.exe sysdm.cpl,EditEnvironmentVariables Edit...PATH appending your Mysysgit install path e.g. ;C:\Program Files (x86)\Git\bin. Re-run Cygwin and voila. As Cygwin automatically loads in the Windows environment, so too will your native install of Git.

提交回复
热议问题