New Project Gitlab Command line instructions

Command line instructions

Git global setup

git config --global user.name "林进雨"
git config --global user.email "rain16881@gmail.com"

Create a new repository

git clone http://192.168.1.222/vuejs/superdesk_ui_admin.git
cd superdesk_ui_admin
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Existing folder or Git repository

cd existing_folder
git init
git remote add origin http://192.168.1.222/vuejs/superdesk_ui_admin.git
git add .
git commit
git push -u origin master

请先后发表评论
  • 最新评论
  • 总共0条评论