golang/go

x/review/git-codereview: package documentation for multi-commit branch workflow does not match behavior

Open

#37,038 创建于 2020年2月5日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Go (19,008 fork)batch import
DocumentationNeedsFixhelp wanted

仓库指标

Star
 (133,883 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

The package documentation for git-codereview says:

The 'git codereview change' command amends the top commit in the stack (HEAD).

However, CL 20049 appears to have removed this behavior, instead stating that some combination git commit --amend and git rebase should be used instead.

I'd appreciate it if these docs were updated to better explain the current behavior (potentially with an example).

I'm working on a multi-change contribution, and am finding this a little bit confusing to figure out.

贡献者指南