第一次用git 刚才在blog目录下按顺序执行了下面命令报错了git initgit add .git commit -m "a"git remote add origin https://github.com/nanxun1991/blog.gitgit pull origin mastergit push -u origin master报错如下 是怎么回事呢?To https://github.com/nanxun1991/blog.git
! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'https://github.com/nanxun1991/blog.git'hint: Updates were rejected because the tip of your current branch is behindhint: its remote counterpart. Integrate the remote changes (e.g.hint: 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.
- 2 回答
- 0 关注
- 613 浏览
添加回答
举报
0/150
提交
取消