Branches:
-
IOS - Staging
-
IOS - Production
-
Node - Staging
-
Node - Production
ALDRIG brug version control i xcode til checkout eller at opdatere production branch. Dette gøres igennem terminal.
Fetch, pull, commit og push må gerne bruges gennem xcode
Først tjekker du om der er ændringer i vores repository:
git fetch
Herefter kan du hente det nye ned hvis det er noget:
git pull origin <branch_name>
Først tilføjer du alle ændringer til dit commit:
git add .
Så commiter du det:
git commit -m "commit message in english"
Så pusher du til den rigtige branch (DER PUSHES KUN TIL STAGING):
git push origin <branch_name>
Sørg for at alle ændringer er pushet først!
git checkout <branch_name>
For ios - installer pods efter:
pod install
Sørg for at staging branch er up-to-date og testet på de respektive udvikleres computere før der pushes til production branch!
git push origin <staging_branch>:<production_branch>