“git pull” or “git merge” between master and development branches

This workflow works best for me:

git checkout -b develop

…make some changes…

…notice master has been updated…

…commit changes to develop…

git checkout master
git pull

…bring those changes back into develop…

git checkout develop
git rebase master

…make some more changes…

…commit them to develop…

…merge them into master…

git checkout master
git pull
git merge develop

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)