今天使用在自己笔记本本地磁盘上使用Git命令行执行"git push"然后输入github的用户名和密码之后,报如下错误: ![rejected] master->master(fetch first) error:failed to push some refs to 'https://github.com/xxx/xxx.git' 最后执行git pull,然后再执行push就可以了: 原因是:刚才在网站上改了README.md文件,添加了一些项目的说明,然后使用Git客户端…
zhc@hongchangfirst$ git checkout -b hongchangfirst origin/hongchangfirst 出现: fatal: Cannot update paths and switch to branch 'hongchangfirst' at the same time. Did you intend to checkout 'hongchangfirst' which can not be resolved as commit? 然后我们执行命令:…