- update project with “branch URL” under VCS -> update project… OR ctrl + T. Check the below checkbox
Update/Switch to specific Url
- Select this check box to synchronize your local working copy with a specific repository. Specify the source repository either in the URL text box through its full Url address or in the Use Branch text box through the branch name.
- Clear this check box to bring the changes from the repository that corresponds to the current working copy.
- after files are synced with branch code, do commit .
It is somewhat odd that intellij put this option under update project. Personally I like the “switch” command in tortoise SVN.