1、Git 需标识提交者身份,全局配置(所有仓库生效): # 配置用户名(替换为你的名称) git config --global user.name "Your Name" # 配置邮箱(替换为你的邮箱,建议与 GitHub/Gitee 一致) git config --global user.email "your.email@example.com" 若需为单个仓库配置不同信息,去掉 --global,进入仓库后执行命令。查看配置:git config --list2、rebase操作 # 对commit-id进行调整,危险操作 git rebas...