Git learning: IDEA project uploaded to the code cloud

5分钟学习创建项目上传到git服务器



foreword

I want to learn git systematically, this is the first article, come on


提示:以下为本人学习笔记,可供参考,yao多思考哦

1. How does gitee create a project?

1. gitee creates a project

To ensure that the project name is the same as the local

insert image description here

Do not move until the following picture appears

insert image description here

2. IDEA creates projects locally

(The project name of the created project is exactly the same as the name of the Gitee warehouse)

insert image description here

3. Find git and download the git program

insert image description here

4. Find the git.exe file in the bin directory of the git installation directory

insert image description here

After the test, it appears that the software does not need to be installed again

If it is not installed, download git

5. Operate (submit code to Gitee)

insert image description here
insert image description here

After clicking OK, the upper right corner of IDEA will be as shown in the figure below

insert image description here

Then find the project, as shown below

insert image description here

Right click on the project and select git

insert image description here

Click on the + sign

insert image description here
insert image description here

Back to gitee, copy the SSH link

insert image description here

enter URL

insert image description here

Enter our gitee account and password

insert image description here
So far the login is successful

Submit commit
insert image description here
display
insert image description here

Push

insert image description here

View after uploading successfully

insert image description here

6. The upload is successful (just refresh our warehouse)

insert image description here


ps

无论你在什么时候开始,重要的是开始之后就不要停止

Guess you like

Origin blog.csdn.net/aaxzsuj/article/details/129303244