commit | 4b0eb5a4418babdb12ae6fc50150473dc6dd5733 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Sun Feb 23 23:22:34 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Mon Feb 24 17:41:36 2020 +0000 |
tree | a8b7b139e81431fbdd8024d377e47c466c3e1af3 | |
parent | d38300c7565461d4e0b9d7bedf88552e9fd6bf3b [diff] |
project: fix rebase check with worktrees Add a helper to our git wrapper to find the .git subdir, and then use that to detect internal rebase state. Change-Id: I3b3b6ed4c1f45cc8c3c98dc19c7ca3aabdc46905 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256532 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