Skip to content

Commit 6fbe525

Browse files
authored
Merge pull request #760 from ilkercat/code-example-improvement
feat(refs.asc): improve code example so that it works on emulated cmd…
2 parents 2b1f8e7 + 9ce3e62 commit 6fbe525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/10-git-internals/sections/refs.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To create a new reference that will help you remember where your latest commit i
2020

2121
[source,console]
2222
----
23-
$ echo "1a410efbd13591db07496601ebc7a059dd55cfe9" > .git/refs/heads/master
23+
$ echo 1a410efbd13591db07496601ebc7a059dd55cfe9 > .git/refs/heads/master
2424
----
2525

2626
Now, you can use the head reference you just created instead of the SHA-1 value in your Git commands:

0 commit comments

Comments
 (0)