Collaborate with your team using Native Git
While you as a developer may work primarily with local Git collections, maintaining an up-to-date Cloud View is essential for collaborating with teammates (like frontend developers) who may not have, or may not want to have, the local repository cloned. Consider local mode to be the builder’s view, and cloud mode to be the consumer’s view.
To ensure smooth collaboration, everyone working on the project should be on the same Postman team and same Postman workspace. Personal workspaces can’t be used for Native Git workflows.
Push and pull changes in Postman
If you have existing workspaces, you can transition to the local Git setup by connecting your current workspace to a repository and pulling the cloud elements down into your local file system.
Push to Postman Cloud
You can edit your Local Items before you push them to Postman Cloud. If you’re in Cloud View, in the footer, click Switch to Local.
Then, in the left sidebar, open the Local Items tab and edit your Local Items. For example, edit your Collections, Environments, and Specs.
To push to Postman Cloud, do the following:
-
Open your workspace.
-
In the footer, click
Push to Postman Cloud.
-
Review your changes.
-
(Optional) Edit the list of items to push to Postman Cloud:
- Select the items you want to push to Postman Cloud.
- Clear the items you don’t want to push to Postman Cloud.
-
When you’re ready to push your changes, click Push to Cloud.
Postman pushes your Local Items to Postman Cloud, where they’re available to anyone in your workspace.
Pull from Postman Cloud
You can edit your Cloud Items before you pull them from Postman Cloud. If you’re in Local View, in the footer, click your branch name. Then, click Postman Cloud.
Then, in the left sidebar, open the Items in Cloud tab, and edit your Cloud Items. For example, edit your Collections, Environments, and Specs.
To pull from Postman Cloud, do the following:
-
Open your workspace.
-
In the footer, click
Pull from Postman Cloud.
-
(Optional) Choose another workspace.
-
Edit the list of items to pull from Postman Cloud:
- Select the items you want to pull from Postman Cloud.
- Clear the items you don’t want to pull from Postman Cloud.
-
When you’re ready to pull your changes, click Pull from Cloud.
Postman pulls your Cloud Items from Postman Cloud, where they’re available to you locally.
To avoid manual errors and outdated cloud collections, you can automate this synchronization process instead. See Automate Native Git with CI/CD.