内容简介:翻译自:https://stackoverflow.com/questions/13176891/howto-debug-git-pull-hangs-during-git-pull-always-at-54
>我该如何调试?
>有没有办法一次只获取一个大文件?问题是我的本地git不知道最后一次提交= – (
But even after removing the two files from the remote repository I cannot pull.
你用什么方法“删除这两个文件”?
您需要从存储库历史记录中的所有提交中删除它们.
要执行此操作,请参阅例如: How to remove/delete a large file from commit history in Git repository?
要检查你的git pull是否真的停滞或只是非常慢:检查你的计算机和托管中央存储库的服务器之间的网络流量.
如果你有另一种方法来获取2个大文件(例如:从usb棒中将它们复制到本地存储库中……)你可以从本地存储库对这些文件运行git add(不要运行git commit),然后git重置.展开他们.
这应该将这些文件添加到本地仓库中的已知对象列表中,git pull不需要再次下载它们.
翻译自:https://stackoverflow.com/questions/13176891/howto-debug-git-pull-hangs-during-git-pull-always-at-54
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- iOS常用调试方法:断点调试
- 断点调试和日志调试之间的平衡点:函数计算调试之 Python 篇
- .NET高级调试系列-Windbg调试入门篇
- VisualStudio 通过外部调试方法快速调试库代码
- GDB 调试 Mysql 实战(二)GDB 调试打印
- 使用gdb调试工具上手调试php和swoole源码
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Masterminds of Programming
Federico Biancuzzi、Chromatic / O'Reilly Media / 2009-03-27 / USD 39.99
Description Masterminds of Programming features exclusive interviews with the creators of several historic and highly influential programming languages. Think along with Adin D. Falkoff (APL), Jame......一起来看看 《Masterminds of Programming》 这本书的介绍吧!