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: book/03-git-branching/sections/nutshell.asc
+5-5
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ Well, let's do another commit:
110
110
[source,console]
111
111
----
112
112
$ vim test.rb
113
-
$ git commit -a -m 'made a change'
113
+
$ git commit -a -m 'Make a change'
114
114
----
115
115
116
116
.The HEAD branch moves forward when a commit is made
@@ -157,7 +157,7 @@ Let's make a few changes and commit again:
157
157
[source,console]
158
158
----
159
159
$ vim test.rb
160
-
$ git commit -a -m 'made other changes'
160
+
$ git commit -a -m 'Make other changes'
161
161
----
162
162
163
163
Now your project history has diverged (see <<divergent_history>>).
@@ -175,12 +175,12 @@ If you run `git log --oneline --decorate --graph --all` it will print out the hi
175
175
[source,console]
176
176
----
177
177
$ git log --oneline --decorate --graph --all
178
-
* c2b9e (HEAD, master) Made other changes
179
-
| * 87ab2 (testing) Made a change
178
+
* c2b9e (HEAD, master) Make other changes
179
+
| * 87ab2 (testing) Make a change
180
180
|/
181
181
* f30ab Add feature #32 - ability to add new formats to the central interface
182
182
* 34ac2 Fix bug #1328 - stack overflow under certain conditions
183
-
* 98ca9 initial commit of my project
183
+
* 98ca9 Initial commit of my project
184
184
----
185
185
186
186
Because a branch in Git is actually a simple file that contains the 40 character SHA-1 checksum of the commit it points to, branches are cheap to create and destroy.
0 commit comments