1.git pull origin master把远程仓库的文件拉下来

2.使用dir命令看有什么文件

3.rm readme.txt(rm -r ABD)删除文件或文件夹

4.再次把文件添加到缓存区一下git add .

5.把文件提交到本地仓库 git commit -m "注释"

6.提交到远程仓库git push -u origin master

使用git删除远程仓库的文件

使用git删除远程仓库的文件

原先的readme.txt文件已被删除

可以参考这篇博客:https://blog.csdn.net/wudinaniya/article/details/77508229

相关文章:

  • 2021-11-22
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2021-11-30
  • 2021-04-16
  • 2022-12-23
相关资源
相似解决方案