Difference between revisions of "Clone git public repositories"

From wikieduonline
Jump to navigation Jump to search
 
(3 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>
+
* [[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 ==
Line 18: Line 34:
 
* <code>[[git clone]]</code>
 
* <code>[[git clone]]</code>
 
* <code>[[git fetch]]</code>
 
* <code>[[git fetch]]</code>
 +
* <code>[[git config --global]]</code>
  
 
== See also ==
 
== See also ==

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:

  • macOS: gfind $1 -name ".git" | gsed -r 's|/[^/]+$||' | parallel "echo {}; git -C {} pull"


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]

Advertising: