Remotes

Adding remotes is straightforward; you have to use the command line or make a file for your respective VCS systems. This is currently a feature request in YouTrack, so it will be worked on at some point. However, PyCharm understands remotes, so if we add a GitHub remote from Git (git remote add origin git@github.com:gamesbrainiac/TestProject.git), PyCharm would understand that we've added a remote when we go to commit and push:

Remotes

We can add multiple remotes via the command line, and PyCharm will allow us to pick which one we want to push. Make sure to check the Push current branch to alternative branch checkbox, or else PyCharm will tell us ...

Get Mastering PyCharm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.