aboutsummaryrefslogtreecommitdiff
path: root/git-codereview
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2017-06-05 11:11:06 -0400
committerThan McIntosh <thanm@google.com>2017-06-06 14:00:17 +0000
commit42c461bbc67d094166efa64d99eb7a1a41b496c3 (patch)
treef7e01be192b136420ef6c583f828b061bb162b86 /git-codereview
parent14b1fbe320ebb5298986e1301b5bd632b78014f9 (diff)
downloadgo-x-review-42c461bbc67d094166efa64d99eb7a1a41b496c3.tar.xz
codereview: mention rebase-work in usage message
Include the 'rebase-work' subcommand in the usage message. Change-Id: I38e5398e89a019669bafeb43429e0bc34988580a Reviewed-on: https://go-review.googlesource.com/44862 Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'git-codereview')
-rw-r--r--git-codereview/review.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-codereview/review.go b/git-codereview/review.go
index 4d2ebe6..f4d0096 100644
--- a/git-codereview/review.go
+++ b/git-codereview/review.go
@@ -102,6 +102,12 @@ Available commands:
If -l is specified, only use locally available information.
If -s is specified, show short output.
+ rebase-work
+ Run git rebase in interactive mode over pending changes
+ (shorthand for "git rebase -i $(git codereview branchpoint)").
+ This rebase does not incorporate any new changes from the origin
+ branch, in contrast with a normal "git rebase -i".
+
submit [-i | commit...]
Push the pending change to the Gerrit server and tell Gerrit to
submit it to the master branch.