Skip to main content

Manage multiple repositories

Project description

.. image::
:target: #readme

.. role:: raw-html(raw)
:format: html

:raw-html:`<br />`

.. image::

.. image::

.. image::

.. image::

tsrc: manage multiple repos / review automation

`Overview`_ · `Installation`_ · `Usage example`_ · `Documentation`_ · `Release notes`_ · `Contributing`_ · `License`_


tsrc is a command-line tool that helps you manage groups of several git repositories. It also provides some code review automation.

In can be `seen in action on <>`_.


`tsrc` is `available on pypi <>`_ an can be installed via ``pip``. It requires **Python 3.4** or later.

Usage Example

* Create a *manifest* repository. (````)

* Push a file named ``manifest.yml`` looking like:

.. code-block:: yaml

- src: foo

- src: bar

* Create a new workspace with all the repositories listed in the manifest:

.. code-block:: console

$ tsrc init git@git.local/manifest.git

:: Configuring workspace in /path/to/work
=> Cloning missing repos
* (1/2) foo
* (2/2) bar
: Configuring remotes
Done ✓

* Synchronize all the repositories in the workspace:

.. code-block:: console

$ tsrc sync
=> Updating manifest
:: Configuring remotes
:: Synchronizing workspace
* (1/2) foo
=> Fetching origin
=> Updating branch
Already up to date
* (2/2) bar
=> Updating branch
Updating 29ac0e1..b635a43
bar.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 bar.txt
Done ✓

* Push current branch for review:

.. code-block:: console

$ cd bar
$ git checkout new-feature
# hackity hack
$ tsrc push
=> Running git push
Branch 'new-feature' set up to track remote branch 'new-feature' from 'origin'.
Everything up-to-date
=> Creating merge request
:: See merge request at


For more details and examples, please refer to `tsrc documentation <>`_.

Release notes

Detailed changes for each release are documented in the `changelog <>`_.


We welcome feedback, `bug reports <>`_, and bug fixes in the form of `pull requests <>`_.

Detailed instructions can be found `in the documentation <>`_.


tsrc is licensed under a `BSD 3-Clause license <>`_.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tsrc, version 0.6.5
Filename, size File type Python version Upload date Hashes
Filename, size tsrc-0.6.5-py3-none-any.whl (48.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tsrc-0.6.5.tar.gz (34.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page