Configuring TrueSight Orchestration Development Studio to use Git


This topic explains how to configure the

Some content is unavailable due to permissions.

Development Studio application to manage the workflows in a grid using Git.

Note

You must perform incoming Git operations, such as Pull, Merge, and Synchronize operations from the Git client, outside of Development Studio. For details on executing these operations from the client, see the EGit/User Guide.

The following outgoing Git operations are supported from a Development Studio client:

  • Git Push
  • Git Push and Commit
  • Git Show in History
  • Git Disconnect

This topic includes the following information:

Before you begin

The Git client is not packaged with the

Some content is unavailable due to permissions.

product. Before you can configure

Some content is unavailable due to permissions.

Development Studio to integrate with Git, you must install and configure a Git client and you must have created a Git repository on your Git server. 

To create a local Git repository in

Some content is unavailable due to permissions.

Development Studio

  1. In the project tree in the Project Navigator of the

    Some content is unavailable due to permissions.

    Development Studio Designer view, right-click the name of the grid whose modules you want to manage in Git.
  2. In the menu, select Team > Share Project.
  3. In the Share Project dialog box, select Git and then click Next.
  4. Click Use or create repository in parent folder of project.
  5. Select the project <gridName> in the list, where gridName is your grid. 
    The path field next to Create Repository is pre-populated with the path to the workspace, as shown in the following example.
    GitHubCreateRepo.PNG

    Note

    The Git local repository must be created in the DevStudio workspace. 

  6. Click Create Repository.
  7. Under Project, select the checkbox next to the local Git repository that you just created.
  8. Click Finish.

Some content is unavailable due to permissions.

Development Studio is now configured to work with Git and Git is set up for the local repository. 

To access Git functions, right-click the grid, workflow, or other component in the Project Navigator, and then select Team.

After creating a local Git repository, BMC recommends that you exit and relaunch the

Some content is unavailable due to permissions.

Development Studio.

To commit files to a local repository

To commit files you must be connected to your local Git repository.

  1. In Project Navigator, right-click on <gridName> in the list, where gridName is your grid. 
  2. Select Team.
  3. In the window, complete the following steps:
    1. Select Commit.
    2. Enter a Commit Message.
    3. Select the files to commit.
    4. Click Commit at the bottom of the window.

To commit files and push them to a remote repository

  1. In Project Navigator, right-click on <gridName> in the list, where gridName is your grid. 
  2. Select Team.
  3. In the window, complete the following steps:
    1. Select Commit.
    2. Enter a Commit Message.
    3. Select the files to commit.
    4. Click Commit and Push at the bottom the panel.
    5. In the Push to Another Repository panel, enter the following remote Git details:
      • URI: Enter the URI for the remote repository. 
      • Host: Enter the host name for the remote repository.
      • Repository Path: Enter the complete path to the remote repository
      • Protocol: Enter the protocol used for the remote repository.
      • Port: Enter the port number.
      • Authentication: Provide the user name and password to log into the remote repository.
      • Store in Secure Store: This feature is currently not supported. 
    6. Click Next.
    7. Add the push reference specifications in the next panel. Refer to the EGit/User Guide for details.
    8. Click Finish.

To push files to a remote repository

  1. In Project Navigator, right-click on <gridName> in the list, where gridName is your grid. 
  2. Select Team.
  3. In the window, complete the following steps:
    1. Select Remote.
    2. Select Push.
    3. In the Push to Another Repository panel, enter the following remote Git details:
      • URI: Enter the URI for the remote repository. 
      • Host: Enter the host name for the remote repository.
      • Repository Path: Enter the complete path to the remote repository
      • Protocol: Enter the protocol used for the remote repository.
      • Port: Enter the port number.
      • Authentication: Provide the user name and password to log into the remote repository.
      • Store in Secure Store: This feature is currently not supported. 
    4. Click Next.
    5. Add the push reference specifications in the next panel. Refer to the EGit/User Guide for details.
    6. Click Finish.

Related topic

Troubleshooting-problems-using-Git-with-TrueSight-Orchestration-Development-Studio

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*