Description : You are not authorized to access the files in the repository.Suggestion : You might be required to provide a user name and password when prompted before being allowed to access the repository. Description : Commit failed (details follow
原文地址:https://jingyan.baidu.com/article/f3e34a12a25bc8f5ea65354a.html 遇到的问题: error: failed to push some refs to 'xxxxxxxx‘’ hint: Updates were rejected because the tip of your current branch is behin hint: its remote counterpart. Integrate the remote
1.首先下载Git,然后安装 我用的版本是Git-2.15.0-64-bit 2.在你的Git上创建一个新的Progect 创建完成后,会出现这样的窗口,红框圈出来的就是你的Git项目路径 3.在本地要上上传的文件夹下右键执行Git Base Here 或者配置环境变量,然后cmd你准备上传的文件夹下,键入(初始化 你要上传的文件夹) 例如: 如果右键Git Base Here ,就在出现的窗口执行相同的指令 git init 继续 键入以下命令,让git知道你是谁.不然会报错. git con