forked fromevmar/git-cl
- Notifications
You must be signed in to change notification settings - Fork1
a git-command for integrating reviews on Rietveld
License
NotificationsYou must be signed in to change notification settings
lilypond/another-git-cl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# git-cl -- a git-command for integrating reviews on Rietveld# Copyright (C) 2008 Evan Martin <martine@danga.com>== BackgroundRietveld, also known ashttp://codereview.appspot.com, is a nice toolfor code reviews. You upload a patch (and some other data) and it letsothers comment on your patch.For more on how this all works conceptually, please see README.codereview.The remainder of this document is the nuts and bolts of using git-cl.== InstallCopy (symlink) it into your path somewhere, along with Rietveldupload.py.== SetupRun this from your git checkout and answer some questions:$ git cl config== How to use itMake a new branch. Write some code. Commit it locally. Send it forreview:$ git cl uploadBy default, it diffs against whatever branch the current branch istracking (see "git checkout --track"). An optional last argument ispassed to "git diff", allowing reviews against other heads.You'll be asked some questions, and the review issue number will beassociated with your current git branch, so subsequent calls to uploadwill update that review rather than making a new one.== git-svn integrationReview looks good? Commit the code:$ git cl dcommitThis does a git-svn dcommit, with a twist: all changes in the diffwill be squashed into a single commit, and the description of the commitis taken directly from the Rietveld description. This command also acceptsarguments to "git diff", much like upload.Try "git cl dcommit --help" for more options.== Extra commandsPrint some status info:$ git cl statusEdit the issue association on the current branch:$ git cl issue 1234Patch in a review:$ git cl patch <url to full patch>Try "git cl patch --help" for more options.vim: tw=72 :