commit | 19607b28172c3be8153fa0c44326052929fe8653 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Feb 05 23:52:07 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Tue Feb 11 14:44:29 2020 -0500 |
tree | a565456d189361af19acc017860bbb82d82d613a | |
parent | 68744dbc01490dc283db7c965c5cfe07135814ac [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> (cherry picked from commit 563f1a651298eaa3616f92c3cd7b264fe5442379)
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