Advanced Java Development class notes (b)

Git after learning over commonly used commands and terminal operations, development projects and start learning how to use Git on IDEA
Here Insert Picture Description

First select create new projectnew projects.
Here Insert Picture Description
Select the Mavenrecommended SDKversion 1.8 ( IDEAcomes with SDK11, the version is too high, some follow-up function does not work properly), check create from archetype, and select org.apache .maven .arc hetypes:maven-arc hetype -webapp, click next.
Here Insert Picture Description
Fill in the project name, select the item to store addresses.
GroupIdDefines the project belongs to which group, for example, if your company is mycom, there is a project for myapp, then it should be groupId com.mycom.myapp.
Here Insert Picture Description
Here Insert Picture Description
Check overridebutton, select user settings filethe path to the file into setting.xml .m2 folder, after click finish.
Here Insert Picture Description
Here Insert Picture Description
Select VCSunder Import into Version Controlthe Create Git Repositorybutton, select the create git respositorybutton, select the previously created StudyGitstorage, click openthe button.
Here Insert Picture Description
Blue arrow represents the upper right corner Update Project, as the name suggests is the operating Git pull the blue represents commit, that is, git commit operation.
Here Insert Picture Description
In the submission interface, the Commit Massagedescription is submitted content represented below Diffshows the contents of the previous version and you want to submit at this time there is no difference. After confirmation, click the commitbutton, then the contents of your submission of the deposit to your local warehouse inside.

Released seven original articles · won praise 0 · Views 200

Guess you like

Origin blog.csdn.net/Vinseny/article/details/105198232