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