Foreword:
Before doing projects, I wrote the whole body and uploaded it to github. This is not very good, and it is impossible to manage team collaboration and version control. So this time I am going to make an open source project and use git to control it. The following records the process of use.
git related
What is git? Git is currently the most advanced distributed version control system in the world. To use git we need to install git on our system. Specific installation see this article , and github is the same.
idea connect to github
After successfully installing git according to the above steps, we can use idea to connect to github.
1. Specify the local git path
Steps: Open File-> Version Control-> Git in Path to Git executable: add your git installation path \ bin \ git.exe
2. Connect to github
Steps: Open File-> Version Control-> GitHub to connect to your own github account
3. Create warehouse
步骤:VCS -> Import into Version Control -> create Git Repository
4. Upload the project
步骤:VCS -> Import into Version Control -> share Project on github
5. Perform upload and modification operations
Follow the git method: add first, then commit and finally push
step: VCS-> Import into Version Control-> git-> add
6. Update operation
to sum up
This is related to the use process, this is only a preliminary use, you need to learn the specific advanced.