Difference between revisions of "Clone git public repositories"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
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> | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[git pull]]</code> | ||
+ | |||
== See also == | == See also == |
Revision as of 16:15, 16 August 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"
Related commands
See also
- Elasticsearch
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: