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