---
schema_version: "1"
id: f8a1a5893198248a25ae44755f96be595b749c67a6974183a6b1cf0efb0014f1
title: Synchronize Your Development Environment
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_dev_environment_sync.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_dev_environment_sync.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f21d87225c8cae63e6fcfdc46edcca47ec3763d5fa7a53a8bf41a5c1b42e3ed3
description: If you’re working on a team with multiple developers, it’s likely that your dev environment is going to become out of sync with the source control repository. DevOps Center tracks the differences between each development environment and the first pipeline stage’s branch.
products:
  - Salesforce Platform
release: "264"
---
# Synchronize Your Development Environment

If you’re working on a team with multiple developers, it’s likely that your dev environment is going to become out of sync with the source control repository. DevOps Center tracks the differences between each development environment and the first pipeline stage’s branch.

When a development environment is connected to a work item, you’re notified if it’s not up-to-date and given the option to synchronize it before starting new work. You can also choose to synchronize it at any time. This synchronization process ensures that you’re developing against the latest integrated source of truth, including changes from other teammates. It also ensures that your changes are compatible with other changes in the pipeline and reduces the possibility of conflicts when promoting changes.

From the Environments tab, you can see whether each development environment is in sync or not, see the differences if it’s not in sync, and optionally synchronize. The synchronization process runs a deployment of the changes from the first pipeline stage branch into the development environment. For this reason, you’re presented with deployment options when the synchronization process is initiated.

You can synchronize a development environment if it doesn't contain any In Progress work items.

1. From Pipeline, open the Environments tab.
    
    ![Pipeline Environments tab showing that a dev environment is out of sync.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/devops_center/images/pipeline-dev-env-out-of-sync.png)
    
    The status of the development environment, Pedro scratch org, indicates that it’s out-of-sync.
2. (Optional) To see the differences between the dev environment and the next pipeline stage’s branch, click **What’s Different**.
3. Click **Sync**.
4. Select a synchronization option.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><th style="vertical-align:top;" headers="d30910e53-option" id="d30910e55">Changes Not in Dev Environment (recommended)</th><td style="vertical-align:top;" headers="d30910e53-desc d30910e55">Deploy only the changed metadata (files) from the next stage’s branch to your development environment.</td></tr><tr class=""><th style="vertical-align:top;" headers="d30910e53-option" id="d30910e60">All</th><td style="vertical-align:top;" headers="d30910e53-desc d30910e60">Deploy everything in the next stage’s branch to the development environment. Select this option if your deployments are failing due to dependent or missing metadata that doesn’t exist in the What’s Different list but does exist in the next stage’s branch.</td></tr></tbody></table>
    
    The synchronization process runs a deployment of the changes from the first pipeline stage branch into the development environment. For this reason, you’re presented with deployment options when the synchronization process is initiated.
    
    If the source environment exists in the project pipeline, then DevOps Center is aware of its ancestry and you can select **Changes Not in Dev Environment**. If you’re synchronizing a scratch org or a sandbox where DevOps Center can’t determine the ancestry, we recommend that you select **All** to deploy all changes from the first pipeline stage’s branch to this development environment.
5. Click **Start Sync**.

#### See Also

- [Promotion Options](https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_options.htm&release=264.0.0&type=5 "The available promotion options depend on if you’re promoting individual work items, work item bundles, or performing a validate-only deployment.")