You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stage_descriptions/base-01-gg4.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
In this stage, you'll implement the `git init` command.
1
+
All the data for a Git repository — from its commit history to its configuration — lives inside a hidden folder called `.git`. It’s created when you initialize a new repository with `git init`. In this stage, you’ll implement that command yourself.
2
+
3
+
<!--
2
4
3
5
### The `git init` command
4
6
@@ -77,4 +79,6 @@ $ cat .git/HEAD
77
79
that are absolutely necessary for Git to function properly.
78
80
- The `.git/HEAD` file has a newline at the end.
79
81
- The `.git/HEAD` file can contain either `ref: refs/heads/main\n` or `ref: refs/heads/master\n`, the tester will
0 commit comments