Skip to content

Commit e95aba0

Browse files
committed
Merge pull request #580 from YueLinHo/i577
Fix issue #577: One command is `git mv`, instead of `mv`.
2 parents d5f78b6 + 3072c43 commit e95aba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/recording-changes.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,5 +595,5 @@ $ git add README
595595
----
596596

597597
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.
598-
The only real difference is that `mv` is one command instead of three – it's a convenience function.
598+
The only real difference is that `git mv` is one command instead of three – it's a convenience function.
599599
More importantly, you can use any tool you like to rename a file, and address the add/rm later, before you commit.

0 commit comments

Comments
 (0)