Editing Git clone
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{Draft}} |
− | |||
− | |||
− | + | git clone -vv https://github.com/zabbix/zabbix-docker.git | |
− | + | Cloning into 'zabbix-docker'... | |
− | |||
− | |||
− | |||
− | + | [[GIT_TRACE]]=1 [[GIT_CURL_VERBOSE]]=1 git clone --verbose https://github.com/zabbix/zabbix-docker.git | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
error: git upload-pack: git-pack-objects died with error. | error: git upload-pack: git-pack-objects died with error. | ||
Line 36: | Line 13: | ||
remote: aborting due to possible repository corruption on the remote side. | remote: aborting due to possible repository corruption on the remote side. | ||
fatal: protocol error: bad pack header | fatal: protocol error: bad pack header | ||
− | + | Solution: review memory usage on git server | |
− | Solution: | ||
− | |||
− | |||
− | |||
+ | == With errors == | ||
− | + | GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone --verbose https://gitlab.youdomain.com/project1/app.git | |
15:31:11.872513 exec-cmd.c:139 trace: resolved executable path from Darwin stack: | 15:31:11.872513 exec-cmd.c:139 trace: resolved executable path from Darwin stack: | ||
− | + | /Library/Developer/CommandLineTools/usr/bin/git | |
15:31:11.873411 exec-cmd.c:236 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/bin | 15:31:11.873411 exec-cmd.c:236 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/bin | ||
15:31:11.873488 git.c:418 trace: built-in: git clone --verbose https://gitlab.youdomain.com/project1/app.git | 15:31:11.873488 git.c:418 trace: built-in: git clone --verbose https://gitlab.youdomain.com/project1/app.git | ||
Line 57: | Line 31: | ||
* Couldn't find host gitlab.youdomain.com in the .netrc file; using defaults | * Couldn't find host gitlab.youdomain.com in the .netrc file; using defaults | ||
* Trying 10.10.110.xx... | * Trying 10.10.110.xx... | ||
− | * | + | * TCP_NODELAY set |
* Connected to gitlab.youdomain.com (10.10.xx.xx) port 443 (#0) | * Connected to gitlab.youdomain.com (10.10.xx.xx) port 443 (#0) | ||
* ALPN, offering http/1.1 | * ALPN, offering http/1.1 | ||
Line 68: | Line 42: | ||
* Closing connection 0 | * Closing connection 0 | ||
fatal: unable to access 'https://gitlab.youdomain.com/project1/app.git/': '''SSL certificate problem: [[self signed certificate]]''' | fatal: unable to access 'https://gitlab.youdomain.com/project1/app.git/': '''SSL certificate problem: [[self signed certificate]]''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
− | * | + | * <code>[[git fetch]]</code>, <code>[[git pull]]</code> |
* [[Clone git public repositories]] | * [[Clone git public repositories]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{git}} | * {{git}} | ||
+ | |||
[[Category:Git]] | [[Category:Git]] |
Advertising: