【Git】+IDEA+本地新建项目上传到Github or Gitlab

https://jingyan.baidu.com/article/9c69d48fe68cce13c9024e9c.html
修改远程仓库的地址:https://blog.csdn.net/u011136197/article/details/79429000/

备注:

如果push被拒绝  在自己项目所在的根目录,右键选择GIT BASH Here

 依次输入以下命令后 然后在IDEA中push就可以了

git pull
git pull origin master
git pull origin master --allow-unrelated-histories
如果忍耐算是坚强 我选择抵抗 如果妥协算是努力 我选择争取
原文地址:https://www.cnblogs.com/danhuai/p/10626589.html