Skip to content

Commit 3524055

Browse files
author
leerg
authored
Split of two dashes
Two dashes were connected in one. Fixed
1 parent 78c016a commit 3524055

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)