Python / PyCharm Projects to GitHub

Upload your PyCharm projects to GitHub Repositories as well as Change GitHub Repositories from Private to Public and vise versa. check out the python code here: https://github.com/TechworksOnline/rps

Get it onto Github

Make sure to create your GitHub account and log in.

In PyCharm go to File > Settings > Version control > Github

Select “Add account” > Log in with Token

Select ” Generate Token “

This will open your browser to your GitHub account page to create a Personal Access Token

Adjust the name of the token and select the duration – 90 days or No expiration should work fine

All the other selections leave as default, then select ” Generate token ” at the bottom of the page.

The next page will have your newly generated access token, copy the token text to you clip board (ctrl + c) or select the copy icon beside the token.

Go Back to Pycharm and paste (Ctrl + v) into the token: field, The select ” add account

Send your Project to Github

Goto the VCS menu > Share Project on Github

Give the project a name and select “Share

In the Initial Commit popup select “add” at the bottom

You should now see the project in your github repo!

CONGRATS

Related Posts