- Make sure you are on
staging
branch locally then run agit pull origin staging
or more verbose commandgit fetch
andgit 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 install
to 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 fetch
to grab what is remote in staging - Run
git merge origin/staging
to apply changes from staging to local development branch (fix conflicts along the way)
- If no changes to
Podfile
please do not commit changes toPodfile.lock
- Always Squash and Merge into
staging