git 本地无版本仓库推送到远程新仓库命令

每次都要搜索,实验多次有效

git init

git add .

git commit -m ''

git remote add origin [repurl]

git pull --rebase origin master

git push origin master

非常的方便

原文地址:https://www.cnblogs.com/cuiguoliang/p/14377245.html