Gitlab命令行指令
- 作者: 五速梦信息网
- 时间: 2026年04月04日 13:42
Git global setup
git config --global user.name "lh"
git config --global user.email "lh@rede.com"
Create a new repository
git clone git@gitlab.rede.com:lh/l.git
cd l
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 git@gitlab.rede.com:lh/l.git
git add .
git commit
git push -u origin master
- 上一篇: Gitlab完美安装【CentOS6.5安装gitlab
- 下一篇: gitlab导出用户





