Where does Git store files?

前端 未结 10 1126
花落未央
花落未央 2020-12-08 09:15

I just ran the following commands on my Ruby on Rails project:

git init
git add .
git commit -a -m \'Initial\'

Where does Git actually stor

10条回答
  •  北海茫月
    2020-12-08 09:47

    I'm on Windows and found my location by right clicking the Git Bash program in my Start menu and selecting Properties. The Shortcut tab shows the "Start in:" value. For me, it was %HOMEDRIVE%%HOMEPATH%, so I opened a CMD prompt and typed echo %HOMEDRIVE%%HOMEPATH% to see the actual location.

提交回复
热议问题