Dan Willemsen 619a2b5887 Fix inverted logic around [gitc-]init and -c
Instead of not using '-c' for '--current-branch' when using gitc, we
were only using '-c' when using gitc, so we still had the conflict with
the gitc option, and other users still couldn't use '-c'.

Test: repo init -u https://android.googlesource.com/platform/manifest; repo init -c
Test: repo gitc-init -u ... -b ... -c testing
Change-Id: I71e4950a49c281418249f0783c6a2ea34f0d3e2b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253795
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Dan Willemsen <dwillemsen@google.com>
(cherry picked from commit 93293ca47f3a898b30eecf21e7b4e1038780c867)
2020-02-07 15:54:52 -05:00
2019-12-05 01:02:08 +00:00
2016-09-14 09:49:02 +02:00
2017-05-26 21:44:57 +09:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 13:23:19 -04:00
2019-12-02 04:23:31 +00:00
2019-07-16 00:23:16 +00:00
2019-06-13 14:30:52 +00:00
2020-01-25 00:53:39 +00:00
2019-12-05 01:02:08 +00:00
2020-02-05 02:56:08 +00:00
2019-08-27 07:08:52 +00:00
2019-12-02 04:23:31 +00:00
2019-12-02 04:24:23 +00:00
2019-07-31 08:38:19 +00:00

repo

Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

Install

Many distros include repo, so you might be able to install from there.

# Debian/Ubuntu.
$ sudo apt-get install repo

# Gentoo.
$ sudo emerge dev-vcs/repo

You can install it manually as well as it's a single script.

$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repo
Description
No description provided
Readme Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%