git提交公司代码

git生成的key

linux :/root/.ssh

Windowd: /c/Users/FDHG/.ssh  --->FDHG用户

1.git config --global user.name "名字"

2.git config --global user.email "邮箱"

3.ssh-keygen -t rsa -C "公司邮箱" --->生成本地ssh key

id_rsa.pub 文件夹内容拷贝到git仓库

------提交代码-------

1.git add .

2.git commit -m "本次提交的说明"

3.git push

 

posted @ 2022-09-23 19:52  PanDai  阅读(40)  评论(0)    收藏  举报