Note: the following assumes you already know the name of the branch you need to work with, to list all branches, do:
git branch -a
1- Switch to branch named "development"
git checkout development2- Pull changes from branch "development"
git pull origin developmentplease note: if branch has parenthesis, you have to use double quotes
git pull origin "development(mobile)"3- Make all changes you need to do (i.e. modify css, php code, etc..) 4- When ready, add all changes you just made
git add -A5- Add a description of the change
git commit -m "modified css code"6- Push changes to development branch
git push origin development7- Go back to MASTER branch
git checkout masterThat's it :)
No comments:
Post a Comment