Push and open a pull request
Use thePush tab to push the full workspace configuration.
1
Choose a branch and commit message
On the 
Push tab, use the branch picker beside Into to choose an existing branch or enter a new branch name and click Create. Enter a commit message. New branches start from the base branch. Tracecat blocks direct pushes to both the base branch and the repository default branch.
2
Preview changes
Click
Preview to compare with the target branch, or the base branch when creating a branch. Expand a resource group to review its file changes. Use Preview again after making more edits.3
Push
Click 
Push and open PR (Push and open MR on GitLab); the button includes the change count after a preview. Use the adjacent menu to choose Push only for a commit without a pull request.- Tracecat commits only changed files and deletes stale files.
- Tracecat reuses an open pull request on the same branch.
- The pull request body names the workspace and the publishing user’s email.

4
Review the pull request
Open the link to review the change in your provider. Each resource is a readable file, so reviewers see workflow definitions, scripts, and schemas as ordinary diffs. See What an export contains for the folder layout.
- Overview
- Changes

Push one resource type
Each resource list page has its ownPush button, which exports that resource type plus everything it references onto its own branch.
- Tables
- Case fields
- Skills

Push a single workflow
From the workflow builder’sPublish dropdown, choose Open PR or Push directly; a direct push commits to the selected branch with no pull request.

Pull a commit
A merged pull request changes nothing in a workspace until you or your pipeline pull that commit.1
Choose a commit
On the 
Pull tab, use the commit picker beside From to choose a commit from the base branch.
2
Preview changes
Click 
Preview to dry-run the pull. If Tracecat cannot resolve a model, MCP integration, or secret store, choose its target in the matching dialog, then click Save and preview again. Use Choose matches to reopen unresolved choices. Resolve any validation errors before pulling.
3
Apply
Click
Pull into <workspace>; the button includes the change count after a preview. Tracecat enables it only after a successful preview for the same commit and options. A pull updates matching workspace resources and leaves schedules untouched unless you check Overwrite schedules. Changing the commit, schedule option, or reference matches requires another preview.Staging to production
1
Bind both workspaces
Bind staging and production workspaces to the same repository. Role assignments are per workspace, so grant
workspace_sync:push (workspace-editor and above) where changes are authored and workspace_sync:pull (workspace-admin and above) where they are pulled in.2
Push from staging
Build in staging, then choose
Push and open PR (MR on GitLab) from its Push tab.3
Review and merge
Merge the pull request in your repository, where branch protection and required reviews apply.
4
Pull into production
In production, select the merged commit, click
Preview, then Pull into <workspace>. Publish any workflow that needs a registry lock.API reference
- Pushing requires
workspace_sync:push; pulling requiresworkspace_sync:pull. - Reading branches and commits accepts either, so a service account with only
workspace_sync:pullcan pull from CI. - Pulling also requires write access to every resource type in the commit, such as
workflow:createandworkflow:update.
Related pages
- See Workspace Git sync for connecting a repository and the layout of an export.
- See Security architecture for the GitOps model and how registry versions resolve after a pull.
- See Roles and permissions for the scopes that gate connecting, exporting, and pulling.
- See Workflows for YAML export and import without Git.


