master命令后出现错误

master命令后出现错误

本文介绍了运行git push -u origin master命令后出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行此命令后git push -u origin master询问我用户名和密码,当我输入用户名和密码时出现错误.如果有人有解决方案,请建议我

After run this command git push -u origin master asking me for username and password and when i enter username and password getting some error. If anyone have solution please suggest me

在此处输入图片描述

推荐答案

该错误消息表明问题是由于远程包含您在本地没有的工作.因此,请尝试先运行git pull来集成远程更改,然后再次运行git push.

The error message indicates the issue is because the remote contains work that you do not have locally. So try to run git pull first to integrate the remote changes, then run git push again.

这篇关于运行git push -u origin master命令后出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 04:36