From 3072c43fbecc1fb0bbb21b48aaaad1a5bca17050 Mon Sep 17 00:00:00 2001 From: Yue Lin Ho Date: Sat, 2 Apr 2016 10:57:16 +0800 Subject: [PATCH] Fix issue #577: One command is `git mv`, instead of `mv`. --- book/02-git-basics/sections/recording-changes.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/02-git-basics/sections/recording-changes.asc b/book/02-git-basics/sections/recording-changes.asc index a26934367..dcf3528e1 100644 --- a/book/02-git-basics/sections/recording-changes.asc +++ b/book/02-git-basics/sections/recording-changes.asc @@ -595,5 +595,5 @@ $ git add README ---- Git figures out that it's a rename implicitly, so it doesn't matter if you rename a file that way or with the `mv` command. -The only real difference is that `mv` is one command instead of three – it's a convenience function. +The only real difference is that `git mv` is one command instead of three – it's a convenience function. More importantly, you can use any tool you like to rename a file, and address the add/rm later, before you commit.