汇成软件 Create the world!!!

使用github的方法

  1. 在github建库

  2. 在本地用GIT bash 生成公钥,命令如下:ssh-keygen -t rsa -C "xxxxx@xxxxx.com"

  3. github ssh中心输入上面生成的公钥

  4. 在本地 git init  git add  .  git commit  -m 

  5. 在本地git remote  add "任何别名"   github的库地址

  6. git push -u   master

  7. 管理删除远程仓库 git remote rm "任何别名"

作者:admin 分类:git 浏览:562 评论:0
留言列表
发表评论
来宾的头像