Skip to content

Commit 676b95d

Browse files
authored
Merge pull request #1601 from leerg/patch-1
Split of two dashes
2 parents 78c016a + 3524055 commit 676b95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/undoing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ You can see that the changes have been reverted.
136136

137137
[IMPORTANT]
138138
=====
139-
It's important to understand that `git checkout -- <file>` is a dangerous command.
139+
It's important to understand that `git checkout \-- <file>` is a dangerous command.
140140
Any local changes you made to that file are gone -- Git just replaced that file with the most recently-committed version.
141141
Don't ever use this command unless you absolutely know that you don't want those unsaved local changes.
142142
=====

0 commit comments

Comments
 (0)