git-cherry-pick-upload.1 2.9 KB
Newer Older
1 2 3
'\" t
.\"     Title: git-cherry-pick-upload
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5
.\"      Date: 12/15/2016
6
.\"    Manual: Chromium depot_tools Manual
7
.\"    Source: depot_tools f72f1ad
8 9
.\"  Language: English
.\"
10
.TH "GIT\-CHERRY\-PICK\-U" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
.\" -----------------------------------------------------------------
.\" * 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
35
\fIgit cherry\-pick\-upload\fR \-\-branch <remote_branch_name> <commit_hash>
36 37 38 39
.fi
.sp
.SH "DESCRIPTION"
.sp
40
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\&.
41 42 43 44 45 46 47 48 49 50
.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
51
\fB$ git cherry\-pick\-upload \-h\fR
52

53
\fB$ git cherry\-pick\-upload \-b my_branch c02b7d24a066adb747fdeb12deb21bfa\fR
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
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
79
\%https://chromium.googlesource.com/chromium/tools/depot_tools.git
80
.RE