tsrc - managing groups of git repositories¶
What it does¶
tsrc
is a command-line tool that helps you manage groups of git repositories.
It works by listing the repositories in a file called manifest.yml
that looks like this:
repos:
- dest: foo
url: git@example.com:foo.git
- dest: bar
url: git@example.com:bar.git
You can then use:
-
tsrc init <manifest url>
to create a workspace containing thefoo
andbar
repository -
tsrc sync
to synchronize all repos in the workspace. -
... and many more commands. Run
tsrc help
to list them, or read the command line reference
Tutorial¶
Interested in using tsrc
in your own organization?
Proceed to the getting started tutorial!
Guides¶
Once you've learn how to setup tsrc for your organization, feel free to read the following guides - tsrc supports a variety of use cases beyond just listing git repositories to be cloned or synchronized and are described here:
- Editing the manifest safely
- Editing workspace configuration
- Using groups
- Using several remotes
- Using fixed git references
- Performing file system operations
- Running a command for each repo in the workspace
- Using tsrc with continuous integration