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: | ||
{{lowercase}} | {{lowercase}} | ||
<code>[[git]] clone</code> | <code>[[git]] clone</code> | ||
− | * | + | * Documentation: https://git-scm.com/docs/git-clone |
− | + | [[git clone]] https://github.com/zabbix/zabbix-docker.git | |
− | + | ||
− | + | [[git clone]] https://github.com/zabbix/zabbix-docker.git name_folder_to_clone | |
− | + | ||
− | + | [[git clone -vv]] https://github.com/zabbix/zabbix-docker.git | |
+ | Cloning into 'zabbix-docker'... | ||
+ | |||
+ | git clone ssh://[email protected]:2224/username/test.git | ||
+ | Cloning into 'test'... | ||
+ | warning: You appear to have cloned an empty repository. | ||
* <code>git clone [[--depth]]=1 https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki</code> | * <code>git clone [[--depth]]=1 https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki</code> | ||
+ | |||
* <code>[[GIT_TRACE]]=1 [[GIT_CURL_VERBOSE]]=1 [[git clone --verbose]] https://github.com/zabbix/zabbix-docker.git</code> | * <code>[[GIT_TRACE]]=1 [[GIT_CURL_VERBOSE]]=1 [[git clone --verbose]] https://github.com/zabbix/zabbix-docker.git</code> | ||
+ | |||
* <code>git clone -c http.[[sslVerify]]=false</code> | * <code>git clone -c http.[[sslVerify]]=false</code> | ||
− | |||
− | + | * <code>[[git clone --bare]]</code> | |
− | |||
== Errors executing <code>[[git clone]]</code> == | == Errors executing <code>[[git clone]]</code> == | ||
Line 27: | Line 32: | ||
fatal: Could not read from remote repository. | fatal: Could not read from remote repository. | ||
− | + | Please make sure you have the correct access rights | |
+ | and the repository exists. | ||
− | |||
− | |||
error: git upload-pack: git-pack-objects died with error. | error: git upload-pack: git-pack-objects died with error. | ||
Line 40: | Line 44: | ||
− | + | [[GIT_TRACE]]=1 GIT_CURL_VERBOSE=1 git clone --verbose https://gitlab.youdomain.com/project1/app.git | |
− | |||
− | |||
− | |||
− | [[GIT_TRACE]]=1 | ||
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 | [[/Library/Developer/CommandLineTools/]]usr/bin/git | ||
Line 83: | Line 83: | ||
* [[Personal access token (PAT)]] | * [[Personal access token (PAT)]] | ||
* <code>[[gh repo clone]]</code> | * <code>[[gh repo clone]]</code> | ||
− | |||
== See also == | == See also == |
Advertising: