What is the .git folder?

前端 未结 6 1943
别跟我提以往
别跟我提以往 2020-12-13 17:44

What is the folder called .git?

It\'s created in a repository. What is contained within it and why is created?

6条回答
  •  时光说笑
    2020-12-13 18:19

    The .git folder contains all the information that is necessary for your project in version control and all the information about commits, remote repository address, etc. All of them are present in this folder. It also contains a log that stores your commit history so that you can roll back to history.

    For more info, you can check the official website of git.

提交回复
热议问题