git强制t提交+VS激活码

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/marko_zheng/article/details/80996987

git强制提交

报错信息

error: failed to push some refs to 'https://github.com/......'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.

需要先拉下来,处理冲突之后,再提交

这是团队开发中经常出现的问题;

如果没做什么,直接

git push -f     //强制提交

这种做法仅使用与一个人开发,或者,确定别人没有做修改的情况下使用

正确的做法应该是:

先将远程仓库的版本拉下来,处理冲突,然后提交

$ git pull origin master

$ git push -u origin master

Visual Studio2017激活码

今天是2018-07-11 10.51,测试可用;

Visual Studio 2017(VS2017) 企业版 Enterprise 注册码:NJVYC-BMHX2-G77MM-4XJMR-6Q8QF

猜你喜欢

转载自blog.csdn.net/marko_zheng/article/details/80996987