Git Integration Reference

On this page

After you link a project with GitHub or GHES, SnapLogic Manager includes the following GitHub-specific information and controls:

These include the following:

GitHub Actions

The following table describes the available GitHub actions and where you can find them:

Menu Item

Location

Description

Menu Item

Location

Description

Checkout GitHub Repository

Project options and GitHub Menu

Checkout GitHub repositories. Click to open Checkout GitHub Repository dialog box. You can also use GitHub API for this operation.

Commit to GitHub

Project options and GitHub Menu

Commit changes such as file updates to the GitHub repository. Click to open the Commit Changes dialog box.

GitHub Pull

Project options and GitHub Menu

Fetch the latest Assets commited to the GitHub repository. Click to open the Pull Messages dialog box. You can also use GitHub API for this operation.

Add to Repository

File options and GitHub Menu

Add an Asset to the GitHub repository. Click this to add to the repository. The GitHub status changes to Added. You must commit the change to update the GitHub repository.

Remove from Repository

File options and GitHub Menu

Remove an Asset from the GitHub repository. Click this to remove the Asset. The GitHub status change to Removed. You must commit the change to update the GitHub repository.

Repository Path and Other Details

The repository path and commit details display above the Assets table:

From the path, you can perform the following:

  • Click the repository path to open the repository in GitHub.

  • Click the commit ID to open the commit details page in GitHub. This is updated with each GitHub commit and pull. 

  • View the GitHub username of the person that made the last commit.

Project Options Menu

The Project options menu includes three GitHub-specific actions:

File Options Menu

The File options menu includes GitHub-specific actions:

One of the following options is shown in the File options menu based on the GitHub status of the file:

  • Add to Repository: After a file is added to the Project but not yet committed to the repository.

  • Remove from Repository: After a file is added to the project and is committed to the repository.

GitHub Menu

The Asset table toolbar contains a GitHub button, . Click it to open the GitHub menu:

 

The following options are available in the GitHub menu:

  • Checkout GitHub Repository

  • Commit to GitHub

  • GitHub Pull

  • Add to Repository

  • Remove from Repository

GitHub Status Column

The GitHub Status column in the Project Asset table displays the status of the project asset in the repository. An Asset can have one of the following statuses:

  • Tracked: The Asset has been committed and the repository tracks updates.

  • Untracked: The repository does not track Asset updates.

  • Added: The repository has staged the Asset, but it is not committed.

  • Removed: The repository has staged the removal, but the delete is not committed in the repository.

  • Unsupported: The Asset type cannot be tracked in the repository.

Assets with GitHub status Untracked, Added and Removed do not show in the GitHub repository unless committed.