Difference between revisions of "Clone git public repositories"

From wikieduonline
Jump to navigation Jump to search
 
Line 16: Line 16:
  
  
  git clone ssh://[email protected].110.126:2224/username/test-username.git
+
  [[git clone]] ssh://[email protected].10.5:2224/username/test-username.git
 
  Cloning into 'test-username'...
 
  Cloning into 'test-username'...
 
  The authenticity of host '[10.10.10.5]:2224 ([10.10.10.5]:2224)' can't be established.
 
  The authenticity of host '[10.10.10.5]:2224 ([10.10.10.5]:2224)' can't be established.

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: