The repository for this project is empty,接下来你应该:
命令行指令:
设置用户和邮箱:
git config --global user.name "zhang"
git config --global user.email "zhang@abcc.com"
创建新的仓库:
git clone git@glab.tagtic.cn:zhang/abcc.git
cd abcc
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
已经有本地文件:
cd existing_folder
git init
git remote add origin git@glab.tagtic.cn:zhang/abcc.git
git add .
git commit -m "Initial commit"
git push -u origin master # 如果提交不成功,则先 git pull --rebase origin master
已经有git仓库:
cd existing_repo
git remote add origin git@glab.tagtic.cn:zhang/abcc.git
git push -u origin --all
git push -u origin --tags
网友评论