Book Image

Mastering PyCharm

By : Nafiul Islam
Book Image

Mastering PyCharm

By: Nafiul Islam

Overview of this book

Table of Contents (18 chapters)
Mastering PyCharm
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 [email protected]:gamesbrainiac/TestProject.git), PyCharm would understand that we've added a remote when we go to commit and push:

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 that there's nothing to push.

However, all of this is done for us by the built-in GitHub plugin in PyCharm if we click on Share Project on GitHub:

If you're a Bitbucket user, you may also choose to use its plugin, which gives you similar functionality:

Be warned though; this plugin has not been updated for quite some time, and has a few quirks. The...