From 3524055eeb52ad7c58099ada22a92da3494aa13a Mon Sep 17 00:00:00 2001 From: leerg Date: Fri, 5 Feb 2021 11:01:46 +0300 Subject: [PATCH] Split of two dashes Two dashes were connected in one. Fixed --- book/02-git-basics/sections/undoing.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/02-git-basics/sections/undoing.asc b/book/02-git-basics/sections/undoing.asc index 82ae2b88d..6d63e9b12 100644 --- a/book/02-git-basics/sections/undoing.asc +++ b/book/02-git-basics/sections/undoing.asc @@ -136,7 +136,7 @@ You can see that the changes have been reverted. [IMPORTANT] ===== -It's important to understand that `git checkout -- ` is a dangerous command. +It's important to understand that `git checkout \-- ` is a dangerous command. Any local changes you made to that file are gone -- Git just replaced that file with the most recently-committed version. Don't ever use this command unless you absolutely know that you don't want those unsaved local changes. =====