【发布时间】:2017-05-31 12:46:25
【问题描述】:
我对 git 和 guthub 比较陌生。我遇到了一个阻止我将文件上传到 github 的问题。
做完之后
git add .
git commit -m "update"
git push origin master
控制台然后说
Counting objects: 5439, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3670/3670), done.
^Citing objects: 5% (320/5439), 31.90 MiB | 3.54 MiB/s
Total 5439 (delta 1392), reused 5438 (delta 1391)
remote: Resolving deltas: 100% (1392/1392), completed with 1 local object.
remote: error: GH001: Large files detected. You may want to try Git Large
File Storage - https://git-lfs.github.com.
remote: error: Trace: 5dd2ad6c7e223707ec5baf451b28c2f0
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File ImmerGo_24x2/ImmerGo node server +
client/nwjs.app/Contents/Versions/56.0.2924.87/nwjs Framework.framework/nwjs
Framework is 101.72 MB; this exceeds GitHub's file size limit of 100.00 MB
5439 是太多文件,它似乎也在尝试上传我的 nw.app,即使我没有跟踪它。我还在我的 .gitignore 中包含了它的路径。
运行这些之后
git ls-files
git ls-files --others
它似乎正在为我的 repo 跟踪正确的文件,所以我不确定如何防止 client/nwjs.app 也被上传。
任何帮助将不胜感激
【问题讨论】:
-
输出建议路径为 ImmerGo_24x2/ImmerGo 节点服务器 + 客户端/nwjs.app/...但在文本中您仅指 client/nwjs。应用程序。是这两种不同的路径,还是 i 是后者的简写形式,还是...?
标签: git github command-line