Skip to content

Commit

Permalink
Fix issue progit#577: One command is git mv, instead of mv.
Browse files Browse the repository at this point in the history
  • Loading branch information
YueLinHo committed Apr 2, 2016
1 parent f3531c7 commit 3072c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/02-git-basics/sections/recording-changes.asc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 3072c43

Please sign in to comment.