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
浙公网安备 33010602011771号