commit | 0eb2d3c8a0c59955e6b760f84904badc95b7fde8 | [log] [tgz] |
---|---|---|
author | Diogo Ferreira <diogo@underdev.org> | Fri Oct 18 12:39:08 2019 +0100 |
committer | Mike Frysinger <vapier@google.com> | Fri Jan 24 14:46:58 2020 +0000 |
tree | 67ab3e3a58f3f089fcf12e3f60a202551650d530 | |
parent | e4d20372b26521ca936bdba7f4d99c47423b9c4a [diff] |
init: Add '-c' as an alias to '--current-branch' This makes it consistent with the short option for current-branch in repo sync. Change-Id: I2848e87f45a66ef8d829576d0c0c4c0f7a8636a0 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/241700 Tested-by: Diogo Ferreira <deovferreira@gmail.com> Reviewed-by: David Pursehouse <dpursehouse@collab.net> Reviewed-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