1. 设置ssh key
git config --global user.name "你的名字"
git config --global user.email "你git里注册的邮箱"
生成密钥: ssh-keygen -t rsa -C "这里是你的git上注册的邮箱"
2. 提交代码
添加到版本库:git add -A
提交:git commit -m 注释
推送: git push origin 分支名
1. 设置ssh key
git config --global user.name "你的名字"
git config --global user.email "你git里注册的邮箱"
生成密钥: ssh-keygen -t rsa -C "这里是你的git上注册的邮箱"
2. 提交代码
添加到版本库:git add -A
提交:git commit -m 注释
推送: git push origin 分支名