IDEA project using Git will be uploaded to Github

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/qq_43442524/article/details/100077115

Preparing to configure

After you create a project using the idea of ​​development tools, project code at this time there is no version management control, but stored locally. On the one hand there is no way to develop teamwork, on the other hand can not let other people watch together.

So after their own way learned IDEA2019 version connection GitHub project using git upload

Need to confirm before uploading the project idea in two configurations, a position git is executed, there is no need to install git installed on your computer in advance, after the installation of another idea and then configure the settings in search git git directory files just installed, and then click the button to the right of the test testing and certification, there may be successfully expressed in normal use git

Then add your own account on GitHub GitHub options

After the addition is complete, click on the "+" following "√" to confirm the addition.

The items on the IDEA uploaded to GitHub

Click VCS project in the toolbar, click Share Project on GitHub

Click to share

You can add a description (Description) before uploading

Select the items you want to upload, and click Add to add

Upload successful

Other configurations

Right-click on the project, can operate on project code, such as Push, Pull, etc.

Click Show Historyto view when looking at the code log upload, easy to modify the code common

Git is a powerful tool for daily work and we can not do without it, on the other tips GIt can get to know through the back, do not worry, practice makes perfect,

Guess you like

Origin blog.csdn.net/qq_43442524/article/details/100077115