git-cl.1 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. '\" t
  2. .\" Title: git-cl
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
  5. .\" Date: 08/30/2022
  6. .\" Manual: Chromium depot_tools Manual
  7. .\" Source: depot_tools d6a493e4
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-CL" "1" "08/30/2022" "depot_tools d6a493e4" "Chromium depot_tools Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-cl \- Interact with code reviews on Gerrit and Rietveld
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit cl <subcommand> [options]\fR
  36. .fi
  37. .sp
  38. .SH "DESCRIPTION"
  39. .sp
  40. \fBgit cl\fR is the home of all of the tools for interacting with changelists\&.
  41. .sp
  42. Run \fBgit cl help <subcommand>\fR for a more detailed listing of that command and its options\&.
  43. .SH "SUBCOMMANDS"
  44. .PP
  45. archive
  46. .RS 4
  47. archives and deletes branches associated with closed changelists
  48. .RE
  49. .PP
  50. baseurl
  51. .RS 4
  52. gets or sets base\-url for this branch
  53. .RE
  54. .PP
  55. checkout
  56. .RS 4
  57. checks out a branch associated with a given Rietveld or Gerrit issue
  58. .RE
  59. .PP
  60. comments
  61. .RS 4
  62. shows or posts review comments for any changelist
  63. .RE
  64. .PP
  65. config
  66. .RS 4
  67. edits configuration for this tree
  68. .RE
  69. .PP
  70. dcommit
  71. .RS 4
  72. DEPRECATED: Used to commit the current changelist via git\-svn
  73. .RE
  74. .PP
  75. description
  76. .RS 4
  77. brings up the editor for the current CL\(cqs description
  78. .RE
  79. .PP
  80. diff
  81. .RS 4
  82. shows differences between local tree and last upload
  83. .RE
  84. .PP
  85. format
  86. .RS 4
  87. runs auto\-formatting tools (clang\-format etc\&.) on the diff
  88. .RE
  89. .PP
  90. help
  91. .RS 4
  92. prints list of commands or help for a specific command
  93. .RE
  94. .PP
  95. issue
  96. .RS 4
  97. sets or displays the current code review issue number
  98. .RE
  99. .PP
  100. land
  101. .RS 4
  102. commits the current changelist via git
  103. .RE
  104. .PP
  105. lint
  106. .RS 4
  107. runs cpplint on the current changelist
  108. .RE
  109. .PP
  110. owners
  111. .RS 4
  112. interactively find the owners for reviewing
  113. .RE
  114. .PP
  115. patch
  116. .RS 4
  117. patches in a code review
  118. .RE
  119. .PP
  120. presubmit
  121. .RS 4
  122. runs presubmit tests on the current changelist
  123. .RE
  124. .PP
  125. set\-close
  126. .RS 4
  127. closes the issue
  128. .RE
  129. .PP
  130. set\-commit
  131. .RS 4
  132. sets the commit bit to trigger the Commit Queue
  133. .RE
  134. .PP
  135. split
  136. .RS 4
  137. splits a branch into smaller branches and uploads CLs
  138. .RE
  139. .PP
  140. status
  141. .RS 4
  142. show status of changelists
  143. .RE
  144. .PP
  145. tree
  146. .RS 4
  147. shows the status of the tree
  148. .RE
  149. .PP
  150. try
  151. .RS 4
  152. triggers try jobs using either BuildBucket or CQ dry run
  153. .RE
  154. .PP
  155. try\-results
  156. .RS 4
  157. prints info about try jobs associated with current CL
  158. .RE
  159. .PP
  160. upload
  161. .RS 4
  162. uploads the current changelist to codereview
  163. .RE
  164. .PP
  165. upstream
  166. .RS 4
  167. prints or sets the name of the upstream branch, if any
  168. .RE
  169. .PP
  170. web
  171. .RS 4
  172. opens the current CL in the web browser
  173. .RE
  174. .SH "OPTIONS"
  175. .PP
  176. \-\-version
  177. .RS 4
  178. show program\(cqs version number and exit
  179. .RE
  180. .PP
  181. \-h, \-\-help
  182. .RS 4
  183. show this help message and exit
  184. .RE
  185. .PP
  186. \-v, \-\-verbose
  187. .RS 4
  188. Use 2 times for more debugging info
  189. .RE
  190. .SH "CHROMIUM DEPOT_TOOLS"
  191. .sp
  192. 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 by checking out the \m[blue]\fBgit repository\fR\m[]\&\s-2\u[1]\d\s+2\&.
  193. .SH "NOTES"
  194. .IP " 1." 4
  195. git repository
  196. .RS 4
  197. \%https://chromium.googlesource.com/chromium/tools/depot_tools.git
  198. .RE