PyCharm is one of the most popular Python-IDE developed by JetBrains used for performing scripting in Python language. PyCharm provides some very useful features like Code completion and inspection, Debugging process, support for various programming frameworks such as Flask and Django, Package Management, etc. PyCharm provides various tools for productive development in Python.
Git is an open-source version control system. It means that whenever a developer develops some project (like an app) or something, he/she constantly update it catering to the demands of users, technology, and whatsoever it maybe. Version control systems keep these revisions straight, storing the modifications in a central repository. It allows developers to easily collaborate, as they can download a new version of the software, make changes, and upload the newest revision. Every developer can see these new changes, download them, and contribute. Git is used to storing the source code for a project and track the complete history of all changes to that code, while GitHub is a cloud-based platform built around the Git tool. So it’s necessary to upload your project on GitHub.
Prerequisite: Before going through this article consider that one must have already a GitHub account. Also, consider that one must have already a developed Python project on the Pycharm.
Step by step process to upload the Python project on GitHub from the pycharm:
- Step 1: Go to VCS panel which is present on the top of pycharm and click on it. After clicking select the “Enable Version Control Integration“.
After clicking the Enable Version Control Integration a pop up will arise like following. Then select Git from the drop-down menu and click OK. This will initialize the project for GitHub.
- Step 2: The next step is to click on the green tik present in the upper part of the pycharm. Basically this symbol refers to Commit and what it does is it will collect all unversioned files and make them ready to update on gitHub.
After clicking this a new screen will pop up like the following. Now, first, select the unversioned files, then input the Commit message as “Initial Commit” and then click on the Commit button.
Now the project is ready to upload in GitHub.
- Step 3: The last step to be followed is to go to VCS then select Import into Version Control and then click on Share project on GitHub.
After clicking this a pop up will arise where the user has to enter its GitHub login id and password. After successfully logged in to its account one more pop up will come like following where the user has to give its Repository name and the Description of their repository. Then click on the share button and done.
Note: Don’t put blank spaces or special characters while giving the Repository name.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
- How to Upload a Project on Github?
- How to Upload Project on GitHub from Android Studio?
- How to Upload Project on GitHub from Jupyter Notebook?
- How to install Python Pycharm on Linux?
- How to install Python Pycharm on Windows?
- Difference Between Jupyter and Pycharm
- Setup OpenCV With PyCharm Environment
- How to Clone Android Project from GitHub in Android Studio?
- Upload files in Python
- Associate user to its upload (post) in Django
- File upload Fields in Serializers - Django REST Framework
- Django - Upload files with FileSystemStorage
- Upload file and read its content in cherrypy python
- Upload and Download files from Google Drive storage using Python
- Fetch top 10 starred repositories of user on GitHub | Python
- 5 GitHub Repositories that Every New Developer Must Follow
- Using GitHub with SSH (Secure Shell)
- Issues in GitHub
- Making a Github Bot
- How to Trigger WebHooks without Events - Probot Github App
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.