git身份设置,让git知道你是谁
- D:\wxspace\dawn>git config --global user.name "xxx"
- D:\wxspace\dawn>git config --global user.email "[email protected]"
生成公钥
- ssh-keygen -t rsa -C "[email protected]"
初始化普通项目为git项目
- git init
- git remote add origin "https://gitee.com/xxx/xxx.git"
提交项目
- git pull origin master
- git add .
- git commit -m "第一次提交"