I was working on master, later I made a branch sessionwork
and at my server side I checkout this branch by following commands
git fetch
git checkout -b SessionWork --track origin/SessionWork
Now I have merged this branch to master through source tree, Now I want to get pull from master branch not from session branch as these two branches are merged now how can I do this at my server side ?
结帐大师:
git checkout master
Since you have all changes in master
:
First go to master
branch using checkout
git checkout master
Then take pull from master
branch
git pull origin master
Then you will get latest code into your local
master branch from remote
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.