git中一些常见问题的解决

1.

解决:

 先pull,执行git pull origin 分支名称;然后再执行 git push origin 分支名称

2.git报remote HTTP Basic Access denied错误的解决方法

 报错::remote: HTTP Basic: Access denied fatal: Authentication failed for

控制面板所有控制面板项凭据管理器windows凭据

找到git对应的凭据,将其删除就行了。

原文地址:https://www.cnblogs.com/luqiang213917/p/11492727.html