Difference between revisions of "Clone git public repositories"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 11: Line 11:
  
 
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>
  
 
== See also ==
 
== See also ==

Revision as of 16:45, 7 February 2020

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


And keep them updated with:

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

See also

Advertising: