在当前目录初始化一个新的git仓库
git init
查看远程关联的代码仓库地址
git remote -v

如果有外部地址,进行移除
git remort rm origin

执行推送
git push -u origin "master"
如果遇到
意思:!!#ff0000 /你本地没有 master 分支,所以 Git 不知道要推送什么。/ !!
5.1、先查看本地当前分支
git branch
5.2、如果为空,说明还没有提交任何东西
先添加,并提交
git add .
git commit -m "Initial commit"
5.3、再次执行推送
git push -u origin "master"
