$ git mv file_from file_to
其实,运行 git mv 就相当于运行了下面三条命令:
git mv
$ mv README.md README $ git rm README.md $ git add README