Merge pull request #62 from sagorbrur/patch-1

added answer under 'Git/what is .git directory?'
This commit is contained in:
Arie Bregman 2020-01-20 13:38:24 +02:00 committed by GitHub
commit b91df41ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4394,6 +4394,10 @@ git checkout HEAD~1 -- /path/of/the/file
<details>
<summary>What is the <code>.git</code> directory? What can you find there?</summary><br><b>
The <code>.git</code> 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.
This info copied from [https://stackoverflow.com/questions/29217859/what-is-the-git-folder](https://stackoverflow.com/questions/29217859/what-is-the-git-folder)
</b></details>
<details>