commit | 5617b8658c4ff7af5665cf0fd4bc5448d4ada7b9 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Jan 07 12:26:06 2021 -0500 |
committer | Russ Cox <rsc@golang.org> | Thu Jan 07 18:26:46 2021 +0000 |
tree | 4cd9e48ad8aac87b2e669024fe7605ef7d49317d | |
parent | 3f3690dc9cf1f7c0ddca72d1c5313be4022ece58 [diff] |
git-codereview: allow work on main branches The only reason not to allow work on branches named for the origin branches is to preserve them for "git change main; git change new" to make a new branch tracking main. But we can still do that and allow commits on main - we just have to use the branchpoint as the root of the new branch. Now people can work on "main" (or "dev.regabi") if that suits them. In particular, if you're doing merges, it's nice to be on "dev.regabi" and know for sure that's the branch you're working on. Change-Id: I8e9458793c30857a5c00e6bfd4f1cb41adbbe637 Reviewed-on: https://go-review.googlesource.com/c/review/+/279874 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Austin Clements <austin@google.com>
The git-codereview tool is a command-line tool for working with Gerrit.
The easiest way to install is to run go get -u golang.org/x/review/git-codereview
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/review
.
Run git codereview hooks
to install Gerrit hooks for your git repository.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the review repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/review:” in the subject line, so it is easy to find.