`
AILIKES
  • 浏览: 177999 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

本地工程上传到码云

阅读更多

git身份设置,让git知道你是谁

 

[python] view plain copy
 
  1. D:\wxspace\dawn>git config --global user.name "xxx"  
  2.   
  3. D:\wxspace\dawn>git config --global user.email "xxx@qq.com"  

 

生成公钥

 

[python] view plain copy
 
  1. ssh-keygen -t rsa -C "xxx@qq.com"  


初始化普通项目为git项目

 

[python] view plain copy
 
  1. git init   
  2. git remote add origin "https://gitee.com/xxx/xxx.git"  

 

提交项目

 

[python] view plain copy
 
  1. git pull origin master  
  2. git add .  
  3. git commit -m "第一次提交"
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics