1.文件重命名 git mv old_file new_file 2.重命名实际操作 文件移动: mv old_file new_file 删除文件: git rm old_file 添加文件: git add new_file