如何通过ssh下载远程ubuntu服务器的torrent文件?(how to download torrent files with remote ubuntu server via ssh?)
如何通过ssh下载远程ubuntu服务器的torrent文件?
我尝试过使用bittorrent,但是当我关闭putty时,下载过程也会停止
how to download torrent files with remote ubuntu server via ssh?
I've tried using bittorrent but when I turn off putty the download process also stops
原文:https://stackoverflow.com/questions/22624049
最满意答案
你的refs因为性能原因而被打包,现在可以在.git / packed-refs
cat .git/packed-refs
。 这个手册页很好地解释了它https://www.kernel.org/pub/software/scm/git/docs/git-pack-refs.html 。Your refs are getting packed for performance reasons they can now be found in .git/packed-refs
cat .git/packed-refs
. This man page does a pretty good job of explaining it https://www.kernel.org/pub/software/scm/git/docs/git-pack-refs.html.
相关问答
更多-
这取决于你所说的“安全”。 删除这些分支头文件不会破坏Git存储库。 但是如果一些评论分支已经“打包”(现在是.git/packed-refs ),它也不会删除那些分支头。 如果这符合“安全”的标准,那么是的,这是安全的。 :-)(它也不会删除这些引用的任何reflog,这在某种程度上更糟糕,因为这些reflog可能会保护审阅请求项不被GC。) 更好的方法是在每个review/user/topic上使用git branch -D ,这将删除引用refs/heads/review/user/topic和任何相 ...
-
然后会有一个名为.git/packed-refs的文件。 当存储库历史开始变得非常长时,有数百个标记开始减慢速度,因此git pack-refs会将它们全部放入packed-refs文件中。 对于追求内部的追求,你会被它变得多么简单。 通常值得阅读工具附带的任何文档,您在repository layout和核心命令区域中,另外,请参阅底部的“另请参见”链接。 你也应该能够得到那些有git help ,我希望没有遗漏文档的分发。 Then there's going to be a file named .g ...
-
Git推到refs / heads / master在我的mac上失败了,如何修复?(Git push to refs/heads/master fails on my mac, how to fix?)[2022-05-27]
错误消息告诉你(你试图推送的远程并不是裸露的回购,事实上......)你试图推送到的分支在该存储库中检出。 默认情况下,不允许推送到非裸露的回购站,并且不允许推送到检出分支。 但是您可以通过在远程系统上更改git config来配置远程系统以允许它通过错误消息给您。 我怀疑如果你使用了错误信息,你会发现很多现有的网站都给出了相同的答案。 The error message is telling you that (the remote you are trying to push to is not a b ... -
检查远程站点的主站。 如果您可以访问远程存储库,请检查任何其他分支,然后从存储库中推送。 The master branch at remote site is checked out. If you have access to remote repository, checkout any other branch and then push from your repository.
-
refs/original/*是作为备份,以防你弄脏你的过滤器分支。 相信我,这是一个很好的主意。 检查结果后,您确信您拥有所需的内容,您可以删除备份的参考: git update-ref -d refs/original/refs/heads/master 或者如果你这么做很多参考文献,而且你想把它全部擦掉: git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d (这是直接从filter ...
-
为什么Git只在refs / remotes / origin下存储分支?(Why does Git only store branches under refs/remotes/origin?)[2023-02-09]
[回答后大约不到一天编辑:之前的回答是基于一个不同的,错误记忆的问题。] 标签旨在全球/通用。 也就是说,在Git中没有这样的东西作为“远程标签”。 没有技术原因Git不能拥有远程标签。 实际上,它可以同时具有远程跟踪标签(始终强制更新) 和全局标签(非强制更新)。 这是手动实现它们的一种方法: [remote "R"] url = ... fetch = +refs/heads/*:refs/remotes/R/* fetch = +refs/tags/*:refs/rtags/R ... -
git checkout的文档没有说明master不明确时的行为方式。 看一下源代码(我快速浏览所以我可能错了),看起来git checkout假定提供的名称(例如master )是一个分支名称,直到它发现refs/heads/*没有ref为止给定的名字。 因此,当修订版本不明确时检查分支的正确方法是不使用refs/heads/ ,例如git checkout master 。 分支与修订 请注意,指定分支和指定修订 (或其他对象 )之间存在细微但重要的区别。 对于采用修订版(或常规对象)的命令和选项,指定 ...
-
GIT“refs / heads / gh-pages不指向有效对象!”(GIT “refs/heads/gh-pages does not point to a valid object!”)[2022-08-28]
你不应该删除任何.pack文件,这些文件包含了大量的提交。 由于它已被删除,因此您丢失了许多提交,包括refs/heads/gh-pages指向的提交。 如果您已将所有本地引用推送到另一个仓库,则可以将其取回或进行另一次克隆。 但是如果你还没有,也许你需要一些工具来恢复硬盘中已删除的数据。 通常Git在.git/objects/存储松散的对象(包括commit , tree , blob和annotated tag )。 例如,如果存在sha1为1daa24d58e28ee48365d594e90ebb21 ... -
如何撤消'git update-ref -d refs / heads / master'?(How do I undo 'git update-ref -d refs/heads/master'?)[2022-04-27]
我设法通过阅读Stack Overflow问题以及评论中的后续链接来解决这个问题 : 仅从对象中恢复Git存储库 。 使用git fsck查找悬空提交哈希的列表 vim到你的.git/refs/heads/master这只是一个文本文件并输入代表你最新的master提交的可疑哈希。 保存并返回到根目录以检查git日志以查看它是否是最新的。 如果没有,那么系统地通过步骤1中的哈希,直到找到它。 找到git checkout . 所以git恢复到主分支的原始状态 I managed to fix this by ... -
你的refs因为性能原因而被打包,现在可以在.git / packed-refs cat .git/packed-refs 。 这个手册页很好地解释了它https://www.kernel.org/pub/software/scm/git/docs/git-pack-refs.html 。 Your refs are getting packed for performance reasons they can now be found in .git/packed-refs cat .git/packed ...