📌  相关文章
📜  从 git 历史记录中删除 git - Shell-Bash 代码示例

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

代码示例2
$ git rm --cached giant_file
# Stage our giant file for removal, but leave it on disk
$ git commit --amend -CHEAD
# Amend the previous commit with your change
# Simply making a new commit won't work, as you need
# to remove the file from the unpushed history as well