Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Design > Repositories > Actions > Add a Repository > Add a Git Repository

Add a Git Repository

Table of Contents

Table of Contents

Overview

Git is a free, open source version control system. Git is a structured with a lot of repositories belonging to individual clients. This makes it easier to keep track of changes and allows users to keep track of their code locally without having to push code to an individual server.
 

If you have are using a git repository, you can add that repository and have RightScale fetch the cookbooks that are contained in that repository. If the git repository you are using is private, you will need to enter an SSH Key. For more information, see Create a Git SSH Key.


Note: since GitHub is a widely used git web service, it is commonly used in documentation examples.

Prerequisites

  • For additional information about adding repositories to RightScale, see Add a Repository.

Steps

When you select git as the Type, you will need to enter the following information:

 

screen_AddaGitRepository.png

 

  • Name: The name that will display for your repository. 
  • Description: (Optional) The description for your repository.
  • Type: This is the type of repository you would like to create. 
  • Tags/Branch: The branch of the repository which contains the cookbooks.
  • URL: The URL where the repository is located.
    • Examples
      • Public Repository: https://github.com/username/acme  -or-  https://github.com/username/acme.git
      • Private Repository: git@github.com/username/acme.git
  • Git SSH Key: Select your Git SSH Key from the list of credentials, or enter a new SSH Key. If the repository you are connecting to is public, you do not need an SSH Key.
  • Cookbooks Paths: The path (URL) to the cookbooks in your repository. You can add multiple paths. 

Note: If your cookbooks are in the root of the repository, leave this field blank.

  • Automatically import cookbooks to the primary namespace: This is checked automatically. When selected, it will automatically import your cookbooks into the primary namespace so you can easily attach them to your ServerTemplates. For more information, see Primary and Alternate Namespace.
You must to post a comment.
Last modified
11:09, 25 Nov 2013

Tags

This page has no custom tags.

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.