In this topic:
- Invoke the Accessing Git Branches Popup Menu. menu as described in the section
- On the pop-up list that shows all available local and remote branches, click the desired one, and choose
The subsequent behavior depends on the presence of conflicts.
on the submenu.
- If your working tree is not dirty, or your local changes do not conflict with the specified branch, then this branch is checked out, which is reported in a balloon in the lower-left corner of the PyCharm window.
- If you are working with a dirty tree, and your local changes would be overwritten by checkout,
PyCharm shows the files that prevent checking branch out, and suggests to choose between
force checkout, and smart checkout.
Force checkout: local changes will be overwritten, like git checkout -f does.
- View information about the current branch in the widget in the Status bar:
- Invoke the