mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Cleanup checkout help to match other commands
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
e756c412e3
commit
d33f43a754
@ -21,12 +21,14 @@ class Checkout(Command):
|
|||||||
helpSummary = "Checkout a branch for development"
|
helpSummary = "Checkout a branch for development"
|
||||||
helpUsage = """
|
helpUsage = """
|
||||||
%prog <branchname> [<project>...]
|
%prog <branchname> [<project>...]
|
||||||
|
"""
|
||||||
|
helpDescription = """
|
||||||
|
The '%prog' command checks out an existing branch that was previously
|
||||||
|
created by 'repo start'.
|
||||||
|
|
||||||
This subcommand checks out an existing branch and
|
The command is equivalent to:
|
||||||
is equivalent to the following git command run on
|
|
||||||
every project or the list of specified projects:
|
|
||||||
|
|
||||||
"git checkout <branchname>"
|
repo forall [<project>...] -c git checkout <branchname>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def Execute(self, opt, args):
|
def Execute(self, opt, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user