Index: man/man1/git-cherry-pick-upload.1 |
diff --git a/man/man1/git-cherry-pick-upload.1 b/man/man1/git-cherry-pick-upload.1 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aaf249c912a7123ee30e13822aace12c3e7b5258 |
--- /dev/null |
+++ b/man/man1/git-cherry-pick-upload.1 |
@@ -0,0 +1,89 @@ |
+'\" t |
+.\" Title: git-cherry-pick-upload |
+.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] |
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> |
+.\" Date: 07/23/2014 |
+.\" Manual: Chromium depot_tools Manual |
+.\" Source: depot_tools dff725e |
+.\" Language: English |
+.\" |
+.TH "GIT\-CHERRY-PICK-UPLOAD" "1" "07/23/2014" "depot_tools dff725e" "Chromium depot_tools Manual" |
+.\" ----------------------------------------------------------------- |
+.\" * Define some portability stuff |
+.\" ----------------------------------------------------------------- |
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
+.\" http://bugs.debian.org/507673 |
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
+.ie \n(.g .ds Aq \(aq |
+.el .ds Aq ' |
+.\" ----------------------------------------------------------------- |
+.\" * set default formatting |
+.\" ----------------------------------------------------------------- |
+.\" disable hyphenation |
+.nh |
+.\" disable justification (adjust text to left margin only) |
+.ad l |
+.\" ----------------------------------------------------------------- |
+.\" * MAIN CONTENT STARTS HERE * |
+.\" ----------------------------------------------------------------- |
+.SH "NAME" |
+git-cherry-pick-upload \- Upload the diff between a revision and its parent to rietveld\&. |
+.SH "SYNOPSIS" |
+.sp |
+.nf |
+\fIgit cherry-pick-upload\fR \-\-branch <remote_branch_name> <commit_hash> |
+.fi |
+.sp |
+.SH "DESCRIPTION" |
+.sp |
+git cherry-pick-upload is used to upload a cherry pick to rietveld\&. It uses your view of the remote to generate the diff between a revision and its parent, and then uploads that diff to rietveld\&. |
+.sp |
+The commit message is annotated with "(cherry picked from commit [parent sha1])" as if it were generated by git cherry\-pick \-x\&. |
+.SH "EXAMPLE" |
+.sp |
+ |
+.sp |
+.if n \{\ |
+.RS 4 |
+.\} |
+.nf |
+\fB$ git cherry-pick-upload \-h\fR |
+usage: git_cherry_pick_upload\&.py [\-h] \-\-branch <branch> <commit> |
+ |
+positional arguments: |
+ <commit> SHA to cherry pick\&. |
+ |
+optional arguments: |
+ \-h, \-\-help show this help message and exit |
+ \-\-branch <branch>, \-b <branch> |
+ The upstream branch to cherry pick to\&. |
+ |
+\fB$ git cherry-pick-upload \-b my_branch c02b7d24a066adb747fdeb12deb21bfa\fR |
+Found parent revision: b96d69fda53845a205151613a9c4cc93 |
+Loaded authentication cookies from \&.codereview_upload_cookies |
+Issue created\&. URL: https://codereview\&.chromium\&.org/1234567890 |
+ Uploading base_file for some/path/first\&.file: OK |
+ Uploading some/path/first\&.file: OK |
+ Uploading base_file for some/path/second\&.file: OK |
+ Uploading some/path/second\&.file: OK |
+ Uploading base_file for some/path/third\&.file: OK |
+ Uploading some/path/third\&.file: OK |
+Finalizing upload: OK |
+.fi |
+.if n \{\ |
+.RE |
+.\} |
+.sp |
+.SH "SEE ALSO" |
+.sp |
+\fBgit-cherry-pick\fR(1) \fBgit-cl-upload\fR(1) |
+.SH "CHROMIUM DEPOT_TOOLS" |
+.sp |
+Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assist with the development of chromium and related projects\&. Download the tools from \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&. |
+.SH "NOTES" |
+.IP " 1." 4 |
+here |
+.RS 4 |
+\%https://chromium.googlesource.com/chromium/tools/depot_tools.git |
+.RE |