Git本地仓库提交到远程服务器

git init-git 初始化项目

git add .

git commit -m “init : XXX”

下面的步骤是关键

git remote add origin https://gitee.com/feanlau/DiscuzX.git

git push -f origin master

git push –set-upstream origin master