开发者

Using Git-GUI and Git-Bash on windows: location of *.git file?

I'm new to Git, and I used a command like this to clone a git repo onto my computer:

开发者_JAVA技巧
git clone git://git.domain.com/dir1/dir2/myrepo.git

I'm also trying to experiment with the Git-GUI on windows. It asks for the location of a repo file:

Using Git-GUI and Git-Bash on windows: location of *.git file?

I have no idea what to put here. I tried putting git://git.domain.com/dir1/dir2/myrepo.git, but it says "not a Git repository". I can't find any *.git file on my hard drive where the clone operation put things. If it makes any difference, the repo is actually empty.

Any ideas on how to populate this field? Thanks. Sorry for the 'dumb' question.


Just navigate to the folder you cloned it to.

The git files are stored in a folder called .git, and that's located in the place you cloned to. Just select the folder you cloned to and you're set to go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜