- Make sure you are on
stagingbranch locally then run agit pull origin stagingor more verbose commandgit fetchandgit merge origin/staging, to make sure everything is up to date locally withstaging - Create a development branch off of staging (
git checkout -b branch_name) - Run
pod installto get the updated dependencies from cocoapods
It can be hard to predict what changes make it to staging before your development branch gets merged into staging but when your branch gets out of date what you should do is
- Run
git fetchto grab what is remote in staging - Run
git merge origin/stagingto apply changes from staging to local development branch (fix conflicts along the way)
- If no changes to
Podfileplease do not commit changes toPodfile.lock - Always Squash and Merge into
staging