Skip to content

Commit 9ce3e62

Browse files
committed
feat(refs.asc): improve code example so that it works on emulated cmd lines on windows
1 parent f613fbd commit 9ce3e62

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)