Difference between revisions of "Clone git public repositories"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
git clone https://github.com/elastic/elasticsearch | git clone https://github.com/elastic/elasticsearch | ||
git clone https://github.com/wikimedia/mediawiki.git | git clone https://github.com/wikimedia/mediawiki.git | ||
+ | git clone https://github.com/openssh/openssh-portable.git | ||
And keep them updated with: | And keep them updated with: | ||
− | + | * [[macOS]]: <code>[[gfind]] $1 -name ".git" | gsed -r 's|/[^/]+$||' | [[parallel]] "echo {}; git -C {} pull" </code> | |
+ | |||
+ | |||
+ | [[git clone]] ssh://[email protected]:2224/username/test-username.git | ||
+ | Cloning into 'test-username'... | ||
+ | The authenticity of host '[10.10.10.5]:2224 ([10.10.10.5]:2224)' can't be established. | ||
+ | ECDSA key fingerprint is SHA256:WMfMtq7QBOrI/388RFgiWv8FJwV36qFrOtjvXJ7RZY4. | ||
+ | Are you sure you want to continue connecting (yes/no/[fingerprint])? yes | ||
+ | Warning: Permanently added '[10.10.10.5]:2224' (ECDSA) to the list of known hosts. | ||
+ | [email protected]: Permission denied (publickey). | ||
+ | fatal: Could not read from remote repository. | ||
+ | |||
+ | Please make sure you have the correct access rights | ||
+ | and the repository exists. | ||
+ | |||
+ | |||
== Related commands == | == Related commands == | ||
* <code>[[git pull]]</code> | * <code>[[git pull]]</code> | ||
− | + | * <code>[[git clone]]</code> | |
+ | * <code>[[git fetch]]</code> | ||
+ | * <code>[[git config --global]]</code> | ||
== See also == | == See also == | ||
− | |||
* {{git}} | * {{git}} | ||
Latest revision as of 12:24, 14 March 2021
Clone to your computer some public git DevOps related repositories:
git clone https://gitlab.com/gitlab-org/gitlab-ce.git git clone https://github.com/ansible/ansible.git git clone https://github.com/kubernetes/kubernetes.git git clone https://github.com/docker/engine.git git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ git clone https://github.com/elastic/elasticsearch git clone https://github.com/wikimedia/mediawiki.git git clone https://github.com/openssh/openssh-portable.git
And keep them updated with:
git clone ssh://[email protected]:2224/username/test-username.git Cloning into 'test-username'... The authenticity of host '[10.10.10.5]:2224 ([10.10.10.5]:2224)' can't be established. ECDSA key fingerprint is SHA256:WMfMtq7QBOrI/388RFgiWv8FJwV36qFrOtjvXJ7RZY4. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '[10.10.10.5]:2224' (ECDSA) to the list of known hosts. [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Related commands[edit]
See also[edit]
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: