diff options
Diffstat (limited to 'git-codereview/doc.go')
| -rw-r--r-- | git-codereview/doc.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go index 4232869..a72b6db 100644 --- a/git-codereview/doc.go +++ b/git-codereview/doc.go @@ -154,10 +154,13 @@ The -m option specifies a commit message and skips the editor prompt. This option is only useful when creating commits (e.g. if there are unstaged changes). If a commit already exists, it is overwritten. If -q is also present, -q will be ignored. -997As a special case, if branchname is a decimal CL number, such as 987, the change + +As a special case, if branchname is a decimal CL number, such as 987, the change command downloads the latest patch set of that CL from the server and switches to it. -A specific patch set can be requested by adding a decimal point: 987.2 for patch set 2 -of CL 987. +A specific patch set P can be requested by adding /P: 987.2 for patch set 2 of CL 987. +If the origin server is GitHub instead of Gerrit, then the number is +treated a GitHub pull request number, and the change command downloads the latest +version of that pull request. In this case, the /P suffix is disallowed. Gofmt |
