美文网首页
git push this exceeds GitHub’s f

git push this exceeds GitHub’s f

作者: codehjb | 来源:发表于2019-10-09 10:16 被阅读0次

    1.cd /Users/Dora/Desktop/XXX(cd后面的这个路径要换成你自己项目的路径)

    2.git rm -r --cached /Users/Dora/Desktop/XXX/XXX/IJKMediaFramework(--cached后面部分是你自己的要移除的文件的路径)

    3.git commit --amend -CHEAD 执行完这步后,这个大文件将会从你的commit记录里移除

    4.git push origin master

    相关文章

      网友评论

          本文标题:git push this exceeds GitHub’s f

          本文链接:https://www.haomeiwen.com/subject/ozzvuctx.html