[Git] IDEA connects to GITHUB to upload projects

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
Insert picture description here

2. Connect to github

Steps: Open File-> Version Control-> GitHub to connect to your own github account
Insert picture description here

3. Create warehouse

步骤:VCS -> Import into Version Control -> create Git Repository
Insert picture description here

4. Upload the project

步骤:VCS -> Import into Version Control -> share Project on github
Insert picture description here

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
Insert picture description here
Insert picture description here
Insert picture description here

6. Update operation

Insert picture description here

to sum up

This is related to the use process, this is only a preliminary use, you need to learn the specific advanced.

Published 197 original articles · praised 73 · 10,000+ views

Guess you like

Origin blog.csdn.net/qq_39397165/article/details/105037921