To view the GIT config configuration, enter the following command in the terminal:
git config--list
and add your own git account.
git config--global user.name your git account name
git config--global user.email you register git's mailbox
Add complete can git config–list see if information matches
Then open pycharm to configure, click
File--setting--version Control-git Here is a locally installed Git application detected
File--setting--version Control-github Here you need to enter your user name and password in this dialog box
PS: There is a test in the bottom right corner, click Test to see if testing is successful
Create a github repository, assuming you already have a project code locally
Click Vcs--import to Version control--share Project on Github
Next will pop up a dialog to let you enter a description of what the name
Next Click Share
Next another dialog box allows you to choose which files need to be synchronized, select, in the following commit message can be input points, whatever input points, not input can also
Next click OK, your code is submitted to GitHub.
Next you can take a look
About the modified file submission
Right-click on the modified file or directory: Git-commit ...
Once you have completed the commit message, click on the Commit and Push below to submit it directly to GitHub
About git syncing to local python
This is called clone.
Catalog: Vcs--checkout from Version Control--github
About Pycharm synchronizing git, based on the Xubuntu 16.04 environment