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: episodes/02-getting-started.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ objectives:
11
11
- "track changes to files using the git repository"
12
12
- "query the current status of the git repository"
13
13
keypoints:
14
-
- "Git repositories contain metadata about files under version control"
15
-
- "This metadata enables us to track changes to files over time"
16
-
- "Git uses a two-stage commit process. Changes to files must first be added to the staging area, then committed to the repository"
14
+
- "When you initialize a Git repository in a directory, Git starts tracking the changes you make inside that directory."
15
+
- "This tracking creates a history of the way the files have changed over time."
16
+
- "Git uses a two-step process to record changes to your files. Changes to files must first be added to the staging area, then committed to the Git repository."
17
17
---
18
18
19
19
### Using Git
@@ -83,9 +83,9 @@ The output tells us that we are on the main branch (more on this later) and that
83
83
unsaved changes).
84
84
85
85
86
-
### Adding and committing
86
+
### Two steps: Adding and committing
87
87
88
-
We will now create and save our first project file. This is a two-stage process. First, we **add** any files for which
88
+
We will now create and save our first project file. This is a two-step process. First, we **add** any files for which
89
89
we want to save the changes to a staging area, then we **commit** those changes to the repository. This two-stage
90
90
process gives us fine-grained control over what should and should not be included in a particular commit.
91
91
@@ -205,7 +205,7 @@ If we just run `git commit` without the `-m` option, Git will launch nano (or wh
205
205
so that we can write a longer message.
206
206
207
207
Having made a commit, we now have a permanent record of what was changed,
208
-
along with metadata about who made the commit and at what time.
208
+
and git has also recorded some additional metadata: who made the commit (you!) and when the commit was made (timestamp). You are building a mini-history of your process of working with the files in this directory.
0 commit comments