commit | 22b85151af96692018cffaacf6156c88d2b0c933 | [log] [tgz] |
---|---|---|
author | Jean de Klerk <deklerk@google.com> | Tue Apr 17 20:53:24 2018 -0700 |
committer | Yury Smolsky <yury@smolsky.by> | Thu Nov 08 09:10:10 2018 +0000 |
tree | e665a93fb59bfa4ec5985a82a9d6b39cbf4c33f0 | |
parent | 5745d819bd5fea5cbfb6ef4886a39b7f814c14db [diff] |
git-codereview: add -m option The -m option allows a user to specify an inline commit message. This is useful for a few reasons; primary among them are the ability to easily automate a `git change` flow (e.g. in a CI/CD workflow) and the ease of creating one-liner commits (e.g. "regen protos"). Fixes golang/go#24912 Change-Id: Ie06886c74552ec615623c2faac285a1896bdac06 Reviewed-on: https://go-review.googlesource.com/c/107625 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Yury Smolsky <yury@smolsky.by> Reviewed-by: Daniel Martà <mvdan@mvdan.cc> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.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.