git version control how to upload local project code to cloud / Github use IDEA?

Original link: https://blog.csdn.net/zsyoung/article/details/76891211
Original

How to upload local project code cloud / Github use IDEA?

Blog Original Address: http://blog.csdn.net/zsyoung/article/details/76891211

He began to cut to the chase:

How to upload local project code cloud / Github?  

Conditions required:

1. yards Cloud / Github git-built project

2.IDEA Editor

3. Local project

 

 

Step 1: Create a remote project

 

Step 2: Copy remote project address Note: here has been given the official code cloud upload project method , but using a form of the command line, we have chosen a more simple way.

 

Step 3: Create a good local project, click on the VCS, create a Git repository to the project in accordance with the illustrated instructions.

 

Step 4: Select the root directory of the project as a warehouse.

 

Step 5: Select the item name first project add to the buffer, and then commit to a local warehouse.

 

Put here a git add and commit illustration to help you understand why a new project must first add then commit:

 

Step 6: After clicking Commit Directory in the pop-up box, fill in the Commit Message (submissions), then select Commit and Push.

 

Step 7: Push Commits in the pop-up dialog box, click the "Define remote", fill in the steps of the project addresses the remote copy 2.

 

Step 8: Click push.

 

Step 9: View Version Control - "log

 

Step 10: Upload successful!

Blog Original Address : http://blog.csdn.net/zsyoung/article/details/76891211

 

 

Finally, Posted on: 2017-08-08 14:28:18
Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/zsyoung/article/details/76891211

Bloggers Code of cloud address: https://git.oschina.net/zsyoung01 , welcome attention!laughing out loud

Guess you like

Origin blog.csdn.net/qq_44750696/article/details/102699226