Git 卡在增量对象上

标签 git visual-studio push azure-devops atlassian-sourcetree

我的源代码(带图片)大小约为 500MB。
但我无法将其推送到任何 git 存储库:我的 git 推送尝试停留在 VS 中的“deltafying objects”。
我观看我的网络:~3kb/s。输出:100kb/s。但还是不推。

这是来自 visual studio 的截图:

enter image description here

我尝试在 visual studio 中推送它,但 Visual Studio Team Services(使用 git)无法正常工作。我尝试使用 sourcetree(v1.9.6.1) 将其检查到 bitbucket。没用。我试过 git console,没用。

我的 Visual Studio Enterprise 2015 有“Git-2.9.3.2-64bit”,我的机器上也安装了这个 git 版本。

更新: 更多信息:我再次尝试了 source-tree,这里是控制台输出;

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream LeanStartup master:master  
POST git-receive-pack (163209032 bytes)  
fatal: The remote end hung up unexpectedly  
fatal: The remote end hung up unexpectedly  
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054  
Pushing to https://*****@bitbucket.org/*****/leanstartup.git  
Everything up-to-date  
Completed with errors, see above.  

更新 2:我尝试了另一种解决方案(只是更改了 1-2 项以提交和推送)。我在 Visual Studio 和源代码树中的 git 运行良好。
所以也许我需要怀疑一种解决方案“leanstartup”?
我试图删除解决方案文件夹中的文件:“.gitattributes”“.gitignore”和文件夹:“.git”以重新分配git 源代码控制。
但同样,它依赖于“deltafying objects”。
您是否需要从其他地方删除更多 git 数据以清除此项目上的所有 git-assigment?

我该怎么做才能解决这个问题?

最佳答案

好的。我解决了我的问题。我想当 git 说“deltafying objects”时我超时了。由于 TTNET(土耳其的互联网提供商,这很糟糕),我的上传速度非常低

所以,我试着用我公司的互联网来做这件事;它在 1 分钟内上传。 感谢您的帮助...

关于Git 卡在增量对象上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39199201/

相关文章:

git - 有没有办法在 github 中创建内部 pull 请求?

linux - 跟踪文件系统更改AMI Linux服务器

.net - 在 Visual Studio 工具箱中安装 .NET Framework 控件

c# - Visual Studio Web 测试 api 请求失败 'Invalid HTTP header characters'

git - 如何从git中删除已删除的文件?

git - pull pull 维尔 5 : Remove development dependancies from app config file

来自同一分支的 Git merge ?

c# - Visual C# WPF,自定义统一网格组件

ios - 在 iOS 5 中推送 segue 不工作

git - Git 中如何小心地推送到新的分支