commit | 949bc34267245d35b066ebbc9e5ae8be081db86f | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Tue Feb 18 21:37:00 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Thu Feb 20 00:53:46 2020 +0000 |
tree | 5cf3d4e49fd971863b8084cd0f97e11d0478442a | |
parent | f841ca48c150e8a62728c5875fb01dcf7c5756a7 [diff] |
main/repo: add support for subcommand aliases This supports [alias] sections with repo subcommands just like git. Change-Id: Ie9235b5d4449414e6a745814f0110bd6af74ea93 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255833 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