创建仓库
- $ pwd
找到当前位置
$ cd d:
$cd excellent_fashion_moblie
把文件上传到版本库
git add .
gigit commit -am "update"
本地仓库同步到origin master
- 在github上创建远程仓库
git remote add <name> <url>
name是你的仓库的名字,如果是origin,可直接push.
如果要上传到其他仓库,比如coding
则:$ git remote add coding https://git.coding.net/……..git
往后git push coding即可。
- 在git运行这两行指令
这时候github上就有内容啦!