search

Home  >  Q&A  >  body text

github - Please explain the directory and function of the server-side git warehouse in detail

Today I set up a git server under my Alibaba Cloud server.
Created a repository named test1.git.
Then I cloned the repository locally and pushed a text file of 123.txt. Successful
But I did not find this file on the server. The directory on the server is as shown in the figure:

Please ask God to explain.

But when I cloned the repository locally again, the text file could be pulled correctly.
Please explain to me how the git server stores files. The role of each directory.

PHP中文网PHP中文网2802 days ago1127

reply all(4)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:54:55

    Resolved Thank you everyone.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:54:55

    https://git-scm.com/book/zh/v...

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:54:55

    Young man, this is a big question for you.
    This is involvedgit的储存原理. Go to Baidu and look up this word.

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-02 09:54:55

    Have a look, it may be helpful in the future.

    reply
    0
  • Cancelreply