Mike Frysinger f914edca53 project: unify HEAD path management
Add a helper function to unify the duplication of finding the full
path to the symbolic HEAD ref.  This makes it easy to handle git
worktrees where .git is a file rather than a dir/symlink.

Bug: https://crbug.com/gerrit/11486
Change-Id: I9f794f1295ad0d98c7c13622f01ded51e4ba7846
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254074
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
2020-02-09 23:26:05 +00:00
2020-02-09 23:24:03 +00:00
2020-02-05 19:01:40 +00:00
2016-09-14 09:49:02 +02:00
2017-05-26 21:44:57 +09:00
2019-06-13 14:30:52 +00:00
2020-02-05 19:01:40 +00:00
2019-06-13 13:23:19 -04:00
2019-12-02 04:23:31 +00:00
2020-02-09 23:24:03 +00:00
2020-02-09 23:26:05 +00:00
2019-12-05 01:02:08 +00:00
2020-02-09 04:02:26 +00:00
2019-08-27 07:08:52 +00:00
2020-02-09 04:02:45 +00:00
2020-02-09 04:02:45 +00:00
2019-12-02 04:24:23 +00:00
2019-07-31 08:38:19 +00:00

repo

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.

Install

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
Description
No description provided
Readme Apache-2.0 36 MiB
Languages
Python 99.1%
Shell 0.9%