blob: f33aed9910acdc11aed98508811b4d5364e210d8 [file] [log] [blame]
Aaron Gable96dc0852017-02-27 13:51:01 -08001git-cl(1)
2=========
3
4NAME
5----
6git-cl -
7include::_git-cl_desc.helper.txt[]
8
9SYNOPSIS
10--------
11[verse]
12'git cl <subcommand> [options]'
13
14DESCRIPTION
15-----------
16
17`git cl` is the home of all of the tools for interacting with changelists.
18
19Run `git cl help <subcommand>` for a more detailed listing of that command
20and its options.
21
22SUBCOMMANDS
23-----------
24
25archive::
26 archives and deletes branches associated with closed changelists
27
28baseurl::
29 gets or sets base-url for this branch
30
31checkout::
32 checks out a branch associated with a given Rietveld or Gerrit issue
33
34comments::
35 shows or posts review comments for any changelist
36
37config::
38 edits configuration for this tree
39
40dcommit::
41 DEPRECATED: Used to commit the current changelist via git-svn
42
43description::
44 brings up the editor for the current CL's description
45
46diff::
47 shows differences between local tree and last upload
48
49format::
50 runs auto-formatting tools (clang-format etc.) on the diff
51
52help::
53 prints list of commands or help for a specific command
54
55issue::
56 sets or displays the current code review issue number
57
58land::
59 commits the current changelist via git
60
61lint::
62 runs cpplint on the current changelist
63
64owners::
65 interactively find the owners for reviewing
66
67patch::
68 patches in a code review
69
70presubmit::
71 runs presubmit tests on the current changelist
72
73set-close::
74 closes the issue
75
76set-commit::
77 sets the commit bit to trigger the Commit Queue
78
Francois Dorayd42c6812017-05-30 15:10:20 -040079split::
80 splits a branch into smaller branches and uploads CLs
81
Aaron Gable96dc0852017-02-27 13:51:01 -080082status::
83 show status of changelists
84
85tree::
86 shows the status of the tree
87
88try::
89 triggers try jobs using either BuildBucket or CQ dry run
90
91try-results::
92 prints info about try jobs associated with current CL
93
94upload::
95 uploads the current changelist to codereview
96
97upstream::
98 prints or sets the name of the upstream branch, if any
99
100web::
101 opens the current CL in the web browser
102
103
104OPTIONS
105-------
106
107--version::
108 show program's version number and exit
109
110-h, --help::
111 show this help message and exit
112
113-v, --verbose::
114 Use 2 times for more debugging info
115
116
117include::_footer.txt[]
118
119// vim: ft:asciidoc: