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.
Resolved Thank you everyone.
https://git-scm.com/book/zh/v...
Young man, this is a big question for you.
This is involved
git的储存原理
. Go to Baidu and look up this word.Have a look, it may be helpful in the future.