From f895d4f751d33660971e1d403e8329f60870d225 Mon Sep 17 00:00:00 2001 From: Yue Lin Ho Date: Wed, 2 Mar 2016 21:42:05 +0800 Subject: [PATCH] Fix issue #548: git checkout command copy the file for you User runs that command, and git does the copy for user. --- 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 735d20a8d..b49581d7c 100644 --- a/book/02-git-basics/sections/undoing.asc +++ b/book/02-git-basics/sections/undoing.asc @@ -122,7 +122,7 @@ You can see that the changes have been reverted. [IMPORTANT] ===== It's important to understand that `git checkout -- ` is a dangerous command. -Any changes you made to that file are gone – you just copied another file over it. +Any changes you made to that file are gone – Git just copied another file over it. Don't ever use this command unless you absolutely know that you don't want the file. =====