Skip to content

Commit f895d4f

Browse files
committed
Fix issue #548: git checkout command copy the file for you
User runs that command, and git does the copy for user.
1 parent 6f4d813 commit f895d4f

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
@@ -122,7 +122,7 @@ You can see that the changes have been reverted.
122122
[IMPORTANT]
123123
=====
124124
It's important to understand that `git checkout -- <file>` is a dangerous command.
125-
Any changes you made to that file are gone – you just copied another file over it.
125+
Any changes you made to that file are gone – Git just copied another file over it.
126126
Don't ever use this command unless you absolutely know that you don't want the file.
127127
=====
128128

0 commit comments

Comments
 (0)