1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 05:26:03 +02:00
tldr/pages/common/git-for-each-repo.md
Managor 0e8893e1ba
git*: refresh pages (#16372)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-05 09:12:13 +03:00

13 lines
522 B
Markdown

# 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}}`