Difference between revisions of "Clone git public repositories"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 12: | Line 12: | ||
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 06:18, 11 May 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 git clone https://github.com/wikimedia/mediawiki.git
And keep them updated with:
macOS: gfind $1 -name ".git" | gsed -r 's|/[^/]+$||' | parallel "echo {}; git -C {} pull"
See also
Advertising: