git lab提交code注意事项

1 安装完git后,需要使用 ssh-keygen -t rsa -C "邮箱",在本地生成公钥,将x.pub里边的内容拷贝到gitlab上
2  git config --global user.name "name"
   git config --global user.email "email"
   git remote add origin git@xxxx/automation.git
   开始往gitlab上提交code
   git add .
   git status
   git commit -m "change requirements.txt"
   git push origin master

posted on 2022-07-14 16:18  bbzhang  阅读(75)  评论(0)    收藏  举报

导航