Repo Tool User Guide

222 views
Skip to first unread message

Kunjal

unread,
Jan 28, 2010, 10:40:45 AM1/28/10
to Repo and Gerrit Discussion
Hello,

I need complete command reference for all the commands repo tool can
do.
Is there any documentation/User Guide someone can point me to?

Thanks
Kunjal

Joe Malin

unread,
Jan 28, 2010, 1:33:06 PM1/28/10
to repo-d...@googlegroups.com
You can do a MOMA search for "repo". The only other thing I know of is "repo help --all" at the command line. Repo is just a python script that simplifies some Git commands.


Shawn Pearce

unread,
Jan 28, 2010, 1:39:00 PM1/28/10
to repo-d...@googlegroups.com
Kunjal <kunjal...@gmail.com> wrote:
> I need complete command reference for all the commands repo tool can
> do.
> Is there any documentation/User Guide someone can point me to?

Did you try running just `repo` after a client was initialized?

$ repo
usage: repo COMMAND [ARGS]

The most commonly used repo commands are:

abandon Permanently abandon a development branch
branches View current topic branches
checkout Checkout a branch for development
diff Show changes between commit and working tree
download Download and checkout a change
grep Print lines matching a pattern
init Initialize repo in the current directory
prune Prune (delete) already merged topics
stage Stage file(s) for commit
start Start a new branch for development
status Show the working tree status
sync Update working tree to the latest revision
upload Upload changes for code review

See 'repo help <command>' for more information on a specific command.
See 'repo help --all' for a complete list of recognized commands.

Reply all
Reply to author
Forward
0 new messages