Bug 1008044

Summary: Cloning repository should show rhc git-clone
Product: OpenShift Online Reporter: Naveen Malik <nmalik>
Component: DocumentationAssignee: bmoss
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: jokerman, lcarlon, mmccomas
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build: CSProcessor Builder Version 1.12 Build Name: 18397, User Guide-null-1.0 Build Date: 29-08-2013 13:11:27 Topic ID: 18303-491199 [Latest]
Last Closed: 2013-09-26 00:51:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Naveen Malik 2013-09-13 23:58:54 UTC
Title: Cloning the Application Git Repository

Describe the issue:
Steps to clone are more complicated that necessary since this is simplified by rhc.

Suggestions for improvement:
Show use of rhc git-clone <app>

Additional information:
Usage: rhc git-clone <app> [--namespace NAME]

This is a convenience wrapper for 'git clone' with the added benefit of adding configuration data such as the application's UUID to the local repository.
It also automatically figures out the Git url from the application name so you don't have to look it up.


Options
  -n, --namespace NAME      Namespace of the application
  -r, --repo dir            Path to the Git repository (defaults to ./$app_name)
  -a, --app name            The application you wish to clone

Global Options
  -l, --rhlogin LOGIN       OpenShift login
  -p, --password PASSWORD   OpenShift password
  --token TOKEN             An authorization token for accessing your account.
  --server NAME             An OpenShift server hostname (default: openshift.redhat.com)
  --timeout SECONDS         The timeout for operations

  See 'rhc help options' for a full list of global options.