📌  相关文章
📜  即使我从提交中删除了文件,如何解决文件正在推送到 github - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:35.949000             🧑  作者: Mango

代码示例1
# if you want to just remove from latest commit
git rm -r --cached 
  
# if you want to remove from all commit history
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch ' HEAD