O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cloning the application Git repository using rhc

In the Cloning the application to the local machine recipe in Chapter 1, Getting Started with OpenShift, you learned how to clone the Git repository using the Git command-line tool. This recipe had a couple of steps—first, to copy the Git repository URL from the web console and second, to use the git-clone command to clone the Git repository. The rhc command-line tool can help you save some keystrokes. In this recipe, you will learn how to use rhc to clone the Git repository.

Getting ready

To step through this recipe, you will need rhc installed on your machine. Also, we will use the OpenShift application created in The Creating an OpenShift application using the rhc command-line client recipe.

How ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required