Search code examples
gitgithubgit-mergegit-checkout

Git pull from master instead of branch


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 ?


Solution

  • checkout master:

    git checkout master