先说同步删除文件 删除前: 第一步: 右键点击本地对应文件夹,单击 git Bash Here 第二步: 在弹出的命令窗口中,输入 git rm --f test.md 回车 第三步: 输入 git commit test.md -m '描述内容随便写'