commit | 7a753b8b181a26b1980349cb2223d9cb010d3099 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Feb 19 00:14:32 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Wed Feb 19 05:46:43 2020 +0000 |
tree | 75c2442aa927e50fd1f05233a217df1279386b7f | |
parent | 0258584c72940bfe3b21da86ff503001cec60d73 [diff] |
upload: improve no pending CL error handling Show clearer messages and exit non-zero if there's nothing to upload. Change-Id: Icd9c13b9b1126610a409fc13d1d11bfc66f5e802 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255834 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