Sharing blueprints by using a Git repository

When you work with blueprints, you can organize and share them by using the Git distributed version control system.

Before you begin

Create a blueprint that is stored in a team-based repository. See Creating and editing blueprints with the blueprint designer.

About this task

The blueprint design server stores blueprints and configuration files in Git repositories, and the blueprint design server creates a Git repository for each team. To share blueprints and configuration files with other team members, associate the files with the repository for that team when you create them. Complete your changes to the files, and then share the files by using Git commands.

Procedure

  1. To minimize conflicts between the commits that you make and the commits that you download from the repository, sync your workspace with the repository before you change files.
    1. Click Repositories. The Repositories page opens.
    2. From the REPOSITORY list, select the repository that contains the files.
    3. Click Sync. The Sync command downloads commits by using the fetch command, reorders the commits by using the rebase command, and moves your commits to the repository by using the push command.
    4. Enter the user name and password that you use to access the blueprint designer, and then click Submit.
    All commits that you loaded are shown in the HISTORY pane.
  2. When your repository is up to date, make changes to blueprints in the blueprint designer as usual.
  3. After you complete your changes, commit all the files in the working directory to your Git repository.
    1. From the REPOSITORY list, select the repository that contains the files.
    2. In the Working Directory Changes pane, type a commit message in the text box. For example, type Adding second Ubuntu image.
    3. Click more, and then specify names and email addresses for Author and Committer.
    4. Optional: Select Save to save the author and committer information for future commits.
    5. Select Select All.
    6. Click Commit.
    All files in the working directory are committed to the Git repository. The commit is shown in the OUTGOING pane.

Feedback