开发者

Where are the original files?

I’ve created开发者_运维问答 a repository, looked at what Git created, and can’t find the files anywhere under the .git tree. So, how do I know my files are safely stored in Git?


Which files?

Git doesn't store duplicates of the files. The contents of a Git repository's .git directory is essentially a database of all the content tracked by Git, along with commits, tags, and so forth.

If your repository is a non-bare repository, it will have a working tree associated with it. The working tree is the most current representation of the files tracked by Git.


You can also clone the repository to see that you get what you expect.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜