git your name and email before you push your comment to the repo

git config --global user.name "jacky"
git config --global user.email "zzlyzq@gamil.com"

for a completely new repo

git clone git@gitlab.ops.ac.cn:jacky/opsfab.git
cd opsfab
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

for exist repo

cd existing_folder
git init
git remote add origin git@gitlab.ops.ac.cn:jacky/opsfab.git
git add .
git commit
git push -u origin master
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""