一.问题 近期在使用git时遇到一个问题,就是在git上传文件时,将一个100兆的大文件添加到了git,并执行了push操作,这时在上传完毕后,会提示这个错误 Large files detected see http:git.io/iEPt8g for more information this is larger than GitHubs recommended maximum file size of 50MB 即git无法上传超过50M的单个文件. 如果未push,可通过git comm
1.检查当前文件状态 -- git status git diff git diff --staged git status :我们可以使用 git status 来查看文件所处的状态.当运行 git status 之后,出现类似下面输出: $ git status On branch master nothing to commit, working directory clean 说明,现在的工作目录非常干净,换句话说,所有的已跟踪文件在上次提交之后都未被修改过. 如果你想要知道