davidy4ng
9/2/2016 - 2:07 PM

CA

CA

#!/bin/bash

echo "### Module Accounts"
cd CAMaBanqueAccounts
git stash && git pull
cd ..

echo "### Module Core"
cd CAMaBanqueCore
git stash && git pull
cd ..

echo "### Module Projects"
cd CAMaBanqueProjects
git stash && git pull
cd ..

echo "### Module CoreData Extensions"
cd CAManqueCoreDataExtensions
git stash && git pull
cd ..

echo "### Module Appointments"
cd CAMaBanqueAppointments
git stash && git pull
cd ..

echo "### Module CoreData Model"
cd CAMaBanqueCoreDataModel
git stash && git pull
cd ..

echo "### Module UICore"
cd CAMaBanqueUICore
git stash && git pull
cd ..

echo "### Module Budget"
cd CAMaBanqueBudgets
git stash && git pull
cd ..

echo "### Module Avantages"
cd CAMaBanqueAvantages
git stash && git pull
cd ..

echo "## Module Timeline"
cd CAMaBanqueTimeline
git stash && git pull
cd ..

echo "## Module EERD"
cd CAMaBanqueEERD
git stash && git pull
cd ..

echo "## Module Agency"
cd CAMaBanqueAgency
git stash && git pull
cd ..

echo "## Module ModeDepose"
cd CAMaBanqueModeDepose
git stash && git pull
cd ..

echo "## Module CommonData"
cd CAMaBanqueCommonData
git stash && git pull
cd ..

echo "###"
echo "Update done"
#!/bin/bash

echo "Switching all projects to branch $1"

echo "## Accounts"
cd CAMaBanqueAccounts
git checkout $1
cd ..

echo "## Appointments"
cd CAMaBanqueAppointments
git checkout $1
cd ..

echo "## Avantages"
cd CAMaBanqueAvantages
git checkout $1
cd ..

echo "## Budgets"
cd CAMaBanqueBudgets
git checkout $1
cd ..

echo "## Core"
cd CAMaBanqueCore
git checkout $1
cd ..

echo "## CoreDataModel"
cd CAMaBanqueCoreDataModel
git checkout $1
cd ..

echo "## Projects"
cd CAMaBanqueProjects
git checkout $1
cd ..

echo "## UICore"
cd CAMaBanqueUICore
git checkout $1
cd ..

echo "## CoreDataExtensions"
cd CAManqueCoreDataExtensions
git checkout $1
cd ..

echo "## Timeline"
cd CAMaBanqueTimeline
git checkout $1
cd ..

echo "## EERD"
cd CAMaBanqueEERD
git checkout $1
cd ..

echo "## Agency"
cd CAMaBanqueAgency
git checkout $1
cd ..

echo "## ModeDepose"
cd CAMaBanqueModeDepose
git checkout $1
cd ..

echo "## CommonData"
cd CAMaBanqueCommonData
git checkout $1
cd ..

echo "## All done"
#!/bin/bash

echo "Print all projects status"

echo "****Accounts"
cd CAMaBanqueAccounts
git status
cd ..

echo "****Appointments"
cd CAMaBanqueAppointments
git status
cd ..

echo "****Avantages"
cd CAMaBanqueAvantages
git status
cd ..

echo "****Budgets"
cd CAMaBanqueBudgets
git status
cd ..

echo "****Core"
cd CAMaBanqueCore
git status
cd ..

echo "****CoreDataModel"
cd CAMaBanqueCoreDataModel
git status
cd ..

echo "****Projects"
cd CAMaBanqueProjects
git status
cd ..

echo "****UICore"
cd CAMaBanqueUICore
git status
cd ..

echo "****CoreDataExtensions"
cd CAManqueCoreDataExtensions
git status
cd ..

echo "****Timeline"
cd CAMaBanqueTimeline
git status
cd ..

echo "****EERD"
cd CAMaBanqueEERD
git status
cd ..

echo "****Agency"
cd CAMaBanqueAgency
git status
cd ..

echo "****ModeDepose"
cd CAMaBanqueModeDepose
git status
cd ..

echo "****CommonData"
cd CAMaBanqueCommonData
git status
cd ..

echo "## All done"