Pulling changes from branch A into branch B
Answered
Say I'm working in a branch called dev_branch and in the repository there's another branch called prod_branch which can be considered a master or parent branch. In my dev_branch I am making changes to add a new future while prod_branch is the main branch I want to pull changes from to keep updated.
Is it possible to use the PyCharm VCS tools to pull changes from prod_branch (which lies in the repo) into my local dev_branch?
Please sign in to leave a comment.
Hi Pablo. Here is a screencast on branching that should show what you need to do. In a nutshell:
Hi JetBrains. I would like to see these four steps more automated - at least for git. In git you can execute 'git pull origin prod_branch' while switched to dev_branch, which does there four steps for you. However if you run it this way, you will not get PyCharm's graphical merging, which I personally love.
yes, i just looked for a solution for that auto-merge-master-into-local-branch-to-keep-updated.
There are related requests on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-170083, https://youtrack.jetbrains.com/issue/IDEA-67391