Prerequisite: download git
Set the Git path
Login to Github
At this time, the browser is automatically opened, and the connection page is opened, and click Authorize GitHub. Log in:
Create a local warehouse
Commit to Github
Fill in the initial submission related information
origin, they are just an alias of the remote server, otherwise you have to write the entire address, obviously writing the entire address is too long and troublesome.
initial submission
Check if the remote is created successfully
Modify the local: (note that you are modifying the project in the local git repository -- the git repository has been created in the above steps)
commit:
puah: push to GitHub remote repository
Successfully submitted
If pycharm push cannot connect to GitHub, try cmd: execute ipconfig /flushdns
Collaborative operation: