- A Bitbucket repository to associate the SnapLogic Workspace.
-
Once authentication is established, you can begin checking out repository
branches into your SnapLogic workspace. This process creates a local working
copy of your repository content that you can modify and manage.
-
Click on the project space in the left navigation panel.
Right-click on the folder to open the context menu. This menu provides all
available Git operations.
-
Select Checkout from Repository from the menu which
opens the checkout configuration dialog.
- Configure the Git Repository Checkout settings.
- Repository: Select the repository to checkout from.
- Branches/Tags: Select the branch or tag to checkout. You can filter the list by typing the first letters of the branch or tag name.
-
Hard Reset: Select this checkbox to replace all assets in your project or
Project Space with the ones in your Git repository. This discards all uncommitted changes
(modified or conflicting assets) and the assets with an Added, Tracked, or Removed status from
the Project or Project Space.
-
Discard Untracked Files: With the Hard Reset
checkbox selected, select this checkbox to delete all untracked files from your project/project
space during the checkout.
Important: You can select Hard
Reset and leave Discard Untracked Files unchecked if you want
to retain a set of assets and not track them. A fix has been implemented to address an issue where untracked changes were moved to the Recycle Bin during branch checkout.
When the system detects uncommitted changes and displays the message, Aborting checkout since the following projects have assets with uncommitted changes no assets are deleted.
- Click Checkout.
The Git Integration associates the project space with the branch or tag and checks out any existing assets.