查看Git追踪的文件
git ls-files

 

移除远程仓库的文件夹

git rm -r --cached some-directory
git commit -m "Remove the now ignored directory some-directory"
git push origin master

 

更新gitignore文件

git rm -r --cached .
git add -A
git commit -m "update .gitignore"

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-07-25
猜你喜欢
  • 2021-06-06
  • 2021-07-25
  • 2021-09-27
  • 2021-07-20
  • 2021-05-28
  • 2022-12-23
  • 2021-07-26
相关资源
相似解决方案