We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c016a commit 3524055Copy full SHA for 3524055
book/02-git-basics/sections/undoing.asc
@@ -136,7 +136,7 @@ You can see that the changes have been reverted.
136
137
[IMPORTANT]
138
=====
139
-It's important to understand that `git checkout -- <file>` is a dangerous command.
+It's important to understand that `git checkout \-- <file>` is a dangerous command.
140
Any local changes you made to that file are gone -- Git just replaced that file with the most recently-committed version.
141
Don't ever use this command unless you absolutely know that you don't want those unsaved local changes.
142
0 commit comments