|author||Russ Cox <email@example.com>||Thu Jan 07 12:26:06 2021 -0500|
|committer||Russ Cox <firstname.lastname@example.org>||Wed Jan 13 14:40:05 2021 +0000|
git-codereview: add reword command Quoting the new docs: The reword command edits pending commit messages. git codereview reword [commit...] Reword opens the editor on the commit message for each named commit in turn. When all the editing is finished, it applies the changes to the pending commits. If no commit is listed, reword applies to the most recent pending commit. Reword is similar in effect to running “git codereview rebase-work” and changing the script action for the named commits to “reword”, or (with no arguments) to “git commit --amend”, but it only affects the commit messages, not the state of the git staged index, nor any checked-out files. This more careful implementation makes it safe to use when there are local changes or, for example, when tests are running that would be broken by temporary changes to the checked-out tree, as would happen during “git codereview rebase-work”. Change-Id: I38ac939b8530bf237c6cafb911f2b17d22eaca60 Reviewed-on: https://go-review.googlesource.com/c/review/+/279718 Trust: Russ Cox <email@example.com> Reviewed-by: Matthew Dempsky <firstname.lastname@example.org>
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
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.