GIT to GIT Sync Task Documentation
Git to Git Sync Task merges one source control management (SCM) branch into another. This workflow requires a configured source control management (SCM) tool in Tool Registry. Once the task has been created, you must select the Run Task button to complete the task.
Task Setup Instructions
Select Git to Git Org Sync from the Type drop down. Once this has been selected, the following values will be fetched for selection:
SCM Type - Select a source control management tool (SCM) identifier. Choose from Gitlab, Github or Bitbucket.
Account - Select a configured source control management (SCM) Tool from the Tool Registry.
Workspace/Project - Select the Bitbucket Workspace or Project where your repository exists.
Repository - Select the repository of the branch to be merged.
Source Branch - Select the branch to be merged.
Target Branch - Select the branch that the source branch will be merged into.
Delete Source Branch - Toggle on to delete the source branch after merging it in.
Auto Approve - Some organizations have a policy in which no merge requests can be processed unless at least one person approves it. Toggle this option to choose Reviewers.
Reviewers - Select reviewers who can approve merge request on this repository. To add approver details, navigate to the SCM account in Tool Registry and view the Accounts tab. Select the repository and approver account.
2. Select Create to save. After the task is created, select the Run Task button to successfully merge the branch.
Â
Activity Logs
To view status and logs from the Git to Git Sync task, navigate to Activity Logs.
Click on the individual log to see any details and the status of the Git to Git Sync:
Â