Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git错误:push失败,远端有本地没有的东西(就这么个意思,控制台会输出差不多的信息) #8

Open
borninfreedom opened this issue Apr 23, 2019 · 0 comments

Comments

@borninfreedom
Copy link
Owner

当远端的内容有本地没有的东西时,push会失败,这也是一种安全措施,如果是自己确实是要删除那个文件,那么执行 git push -u origin +master 强制push就好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant