git init will not create git directories for me

后端 未结 8 1316
北荒
北荒 2020-12-31 19:06

I am new to Git. I can get a Git directory structure in a bare directory with git -init --bare. I can see where the git information is stored.

However, w

相关标签:
8条回答
  • 2020-12-31 19:49

    Do

    git rev-parse --git-dir
    

    to see where git's finding the repository structure.

    @VonC's got the goods on where the objects are, I'll just add that everything else is repo-local metadata.

    0 讨论(0)
  • 2020-12-31 19:55

    If you're using Windows, make sure you have your folder configured like this:

    Screenshot

    This is to show the hide elements

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