Skip to content

Commit 24b8d29

Browse files
authored
added answer under 'Git/what is .git directory?'
1 parent e90be15 commit 24b8d29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4394,6 +4394,10 @@ git checkout HEAD~1 -- /path/of/the/file
43944394

43954395
<details>
43964396
<summary>What is the <code>.git</code> directory? What can you find there?</summary><br><b>
4397+
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.
4398+
4399+
4400+
This info copied from [https://stackoverflow.com/questions/29217859/what-is-the-git-folder](https://stackoverflow.com/questions/29217859/what-is-the-git-folder)
43974401
</b></details>
43984402

43994403
<details>

0 commit comments

Comments
 (0)