I. GitLap official order

Command line instructions

Git global setup
Git config --global user.name "git config" --global user.email "myz@***.com"Copy the code
Create a new repository
Git clone http://192.168.0.205/smcm_bak/smcm_web.git CD smcm_web touch README. Md git add README. Md git commit -m "add README" git push -u origin masterCopy the code
Existing folder
CD existing_folder git init git remote add origin http://192.168.0.205/smcm_bak/smcm_web.git git add. Git commit -m "Initial commit" git push -u origin masterCopy the code
Existing Git repository
CD existing_repo git remote add origin http://192.168.0.205/smcm_bak/smcm_web.git git push -u origin -- all git push -u origin --tagsCopy the code