tag | 27da4ddeb9159573e0207f71e4d9b3ae286b5275 | |
---|---|---|
tagger | Mike Frysinger <vapier@google.com> | Fri Feb 07 15:55:36 2020 -0500 |
object | 619a2b58871e03ecc4f40b93a183206b51853fa5 |
repo 1.13.9.4
commit | 619a2b58871e03ecc4f40b93a183206b51853fa5 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu Feb 06 17:00:00 2020 -0800 |
committer | Mike Frysinger <vapier@google.com> | Fri Feb 07 15:54:52 2020 -0500 |
tree | aabcb4b544775376ef38351b88efb9d0f849fa43 | |
parent | ab15e42fa4403a0354c936d8740f864300b00929 [diff] |
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)
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.
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