commit | 563f1a651298eaa3616f92c3cd7b264fe5442379 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Feb 05 23:52:07 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Sun Feb 09 04:02:26 2020 +0000 |
tree | eeedef5bd54a8221ad275f3bd61faad7bc0178aa | |
parent | b4687ad862435e9a518ee902f0a28c50de504a5a [diff] |
repo: allow REPO_REV to be an env var We do this for REPO_URL already. Bug: https://crbug.com/gerrit/10233 Change-Id: I53410645474b00d900467c96fa5d8446f3a607d3 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253552 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
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