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: firstname.lastname@example.org:foo.git - dest: bar url: email@example.com:bar.git
You can then use:
tsrc init <manifest url>to create a workspace containing the
tsrc syncto synchronize all repos in the workspace.
... and many more commands. Run
tsrc helpto list them, or read the command line reference
Interested in using
tsrc in your own organization?
Proceed to the getting started tutorial!
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