我是git的新手.我想将一个大型提交推送到远程服务器,但问题是我何时使用
git push origin master
Run Code Online (Sandbox Code Playgroud)
它返回错误
Counting objects: 5009, done.
Delta compression using up to 16 threads.
fatal: unable to create thread: Resource temporarily unavailable
error: pack-objects died with strange error
Run Code Online (Sandbox Code Playgroud)
那么无论如何我可以设置Delta Compression的最大线程使用.
感谢帮助,
袁晨
我想查看存储库的树.那么mercurial中的命令行是否可以执行此操作.
谢谢你的建议.袁晨
我在这里有一个存储库http://repos.joomlaguruteam.com/
我使用hgweb.cgi这是我的hgweb.config文件
[web]
baseurl =
#allowpull = true
allow_push = *
push_ssl = false
allow_archive = bz2 gz zip
[paths]
/ = /home/repos/*
Run Code Online (Sandbox Code Playgroud)
我可以浏览它,但我无法克隆它.我每次克隆它都有这个错误
hg clone http://repos.joomlaguruteam.com/hello
destination directory: hello
requesting all changes
abort: HTTP Error 404: Not Found
Run Code Online (Sandbox Code Playgroud)
并且访问日志具有该功能
115.5.95.59 - - [10/Feb/2011:04:20:33 -0600] "GET /hello?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" 200 1 "-" "mercurial/proto-1.0"
115.5.95.59 - - [10/Feb/2011:04:20:34 -0600] "GET /hello?cmd=heads HTTP/1.1" 200 41 "-" "mercurial/proto-1.0"
115.5.95.59 - - [10/Feb/2011:04:20:34 -0600] "GET /hello?cmd=changegroup&roots=0000000000000000000000000000000000000000 HTTP/1.1" 404 597 "-" "mercurial/proto-1.0"
Run Code Online (Sandbox Code Playgroud)
但我可以使用未压缩的传输来克隆它
hg clone …Run Code Online (Sandbox Code Playgroud) 当我输入'git status'时输出为
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# var/cache/
# var/locks/
# var/session/
nothing added to commit but untracked files present (use "git add" to track)
Run Code Online (Sandbox Code Playgroud)
然后我尝试使用
git status var/cache/
Run Code Online (Sandbox Code Playgroud)
它又回来了
error: pathspec 'var/cache/' did not match any file(s) known to git.
Run Code Online (Sandbox Code Playgroud)
那我怎么能检查缓存文件夹和锁文件夹的状态
谢谢你的建议.
元