Use git, maven project management

CentOS

1.git

1 Download git 
yum install git 
2 . Create a folder where you saved the file 
mkdir Project 
3 clone git repository server project. 
Git clone + HTTP address of
 4 to view the server warehouses all branches. 
Git Branch - A 
 5 . Dev branch and remote detection switch this branch 
git Checkout -b dev Origin / dev 
6. Check the current branch
git branch

2.maven

1 . The maven downloaded to the server
 2 configuration maven environment variables and source configuration file.
 3 .maven - v detect whether a successful
 4 . Git go to the file where maven clean install and automatically update package

 

Guess you like

Origin www.cnblogs.com/big-cut-cat/p/11576992.html