Whoa, let's not runaway with this.

Do remember that Git is a powerful tool, and hence some of the details may feel 
complicated.

There are at least three variants of the ".git" file/directory.

For a basic user, on their own PC, they will find a ".git" directory folder at 
the top level of each of their repositories. It contains all the repository 
data. 

In some cases the repository can be stored elsewhere. In that case the 
appropriate .git file (not directory) will have a one line message stating 
where to find the repository storage.

Finally (for this quick response), as detailed, when the setup is for a 'bare' 
repository (such as one on a server) where there are no checked out files, we 
have just the '.git' folder.

All that said, This is forensic detail, not directly required to use Git 
itself, though, given that Git was developed for the Linux kernel, there can be 
an expectation of some computer operation knowledge and eagerness to contribute.

regards

Philip
  ----- Original Message ----- 
  From: Ben David 
  To: Git for human beings 
  Cc: [email protected] 
  Sent: Tuesday, January 31, 2017 9:36 PM
  Subject: Re: [git-users] where is the .git file?


  Wow, it blows my mind that three people answered and all of the replies 
totally did not answer in a coherent intelligible way.  Thanks for wasting 
everyone's time.  Poor John Smith. 


  So example.git - is that a combination of the folder name of the repository + 
the folder name of the .git folder...or is it an actual file?  Can anyone 
actually answer this clearly so the next time someone comes to this thread they 
don't need to read a bunch of garbage for what seems like a simple question?




  On Thursday, November 8, 2012 at 6:00:41 AM UTC-8, Mika Suomalainen wrote:
    -----BEGIN PGP SIGNED MESSAGE----- 
    Hash: SHA512 

    On 08.11.2012 12:04, John Smith wrote: 
    > Some documents write about the .git file, for example git clone 
    > \\[repository server name]\[share name]\example.git 
    > 
    > However I have no .git file in my bare repo. 

    The ".git" is usually in the folder name of the bare repo. 

    (mkdir repository.git && cd repository.git && git init --bare) 

    - -- 
    Mika Suomalainen 
    http://mkaysi.github.com/ 
    -----BEGIN PGP SIGNATURE----- 
    Version: GnuPG v2.0.19 (GNU/Linux) 
    Comment: Homepage: http://mkaysi.github.com/ 
    Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt 
    Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt 
    Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728 
    Comment: I have personal problem with PGP/MIME... 
    Comment: ...so signature *IS* long. See http://git.io/6FLzWg 
    Comment: Please remove PGP lines in replies. http://git.io/nvHrDg 
    Comment: Charset of this message should be UTF-8. 
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ 

    iQIcBAEBCgAGBQJQm7sGAAoJEE21PP6CpGcodbUP/2qn8BpyxgzFDtgLU4r4nQNx 
    KRGpANTrvUkzIY41w59CMYcUDYGTU1QdDOR5hOv3Pxv90IrNPzCbGErZPP7fYLJo 
    YMMh3NMfB5Oe/ILOHVq21hARDgJwT+sknt4wmSraz7KIn3INYxMT2oBNzrpOUZYN 
    Y/fAoHctbW6LcaYjl8VecOjYIxePwUarMHPyTweHalcsnAhKLuYubDNKuB3kyZuw 
    ZpXl5GrDUj0nwkKu7RMoT4fnYvjSl6nNFR7ag1S6T9Kn6tlVR3VbFlTTfrAgnwLF 
    7LDvb6sfO05x/Sz5UWvoliBP9oqvyd2Zf4h+i7nEhv+2B0eEbiyEtUM2JDf0yC6P 
    Mt3+TMnaTzw0UCru/vspr2o+ArtHw4AlV9VrP26COQqJanHdoxkH8QU73x7lUr2z 
    OfNA559ytVri42LaJRVUYziw43R0KZFH7KrHSbccznR5t6zb9qhLsfUZcRgYSKJi 
    8zJy8uSEUkZpzuZs8iPqrYYreRzGqRBXVug1wGXHyaPvC2Qf/myHgDIwH4turuiz 
    M4WfewYJe5cdYvh1jC3rAZGgc/1EoAe5wFtTNnKp5opXqvnhZufeIDyf8atwCLvY 
    YN92j25Fu5kFTGhBoeTQ1MLftjbdj5cdoG789tcK8HZmqvWjl1QmSbczXsloy9dx 
    55zjrL89O1rt72uA7sbt 
    =IF0q 
    -----END PGP SIGNATURE----- 


  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to