git-for-each-repo: add page (#5490)

add-set-more-info-link.py
Axel Navarro 2021-03-23 15:29:09 -03:00 committed by GitHub
parent 5607caaea1
commit 5a40dd8341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# git for-each-repo
> Run a Git command on a list of repositories.
> Note: this command is experimental and may change.
> More information: <https://git-scm.com/docs/git-for-each-repo>.
- Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable:
`git for-each-repo --config={{maintenance.repo}} {{maintenance run}}`
- Run `git pull` on each repository listed in a global configuration variable:
`git for-each-repo --config={{global_configuration_variable}} {{pull}}`