Skip to content

Instantly share code, notes, and snippets.

@thurloat
Created July 6, 2010 00:15
Show Gist options
  • Save thurloat/464837 to your computer and use it in GitHub Desktop.
Save thurloat/464837 to your computer and use it in GitHub Desktop.
Rietveld upload CLI util for newbies

###simply upload all un-commited changes to be reviewed

upload.py

##these are some cooler usages. ####upload all changes to a file from a certain commit point to the present for review

upload.py -- GIT_COMMIT_ID..HEAD -- src/main.py

####upload all changes for a span commits to a module for review

upload.py -- GIT_COMMIT_ID..GIT_COMMIT_ID2 -- src/gisthub/

####append a new diff patch to an existing issue. useful if someone has asked for a change in review

upload.py -i ISSUE_ID src/main.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment