茶杯熟了

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

首先本地仓库中创建一个项目 ex: proA

在远程github仓库中创建项目 ex: proA

在本地仓库proA下打开terminal 使用命令:  

1、git add *  

2、git commit -m "readme.md"

3、git remote add origin "server"(就是github仓库的地址ex:https://github.com/username/proA.git)

4、git push -f origin master   #强制推到远程仓库

  

posted on 2018-08-31 13:59  茶杯熟了  阅读(158)  评论(0编辑  收藏  举报