commit | 746e7f664e306e823a40cd95a127516aa522ed8f | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Feb 19 15:49:02 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Fri Feb 21 05:12:47 2020 +0000 |
tree | d8d697039729fdb05c69566001f221bd23230a30 | |
parent | f241f8c094364722c33dd879ff6a0dc132a24bc2 [diff] |
project: unify StartBranch flows behind git-update-ref We're using this for git worktrees because it handles the .git file format, but it should work for all flows. Unify to simplify. This also fixes the worktree logic which duplicated .git/config settings. Change-Id: Ie3af2e206710859dccfc376b3593f415d6830738 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256034 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: Jonathan Nieder <jrn@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