第一次用git 剛才在blog目錄下按順序執(zhí)行了下面命令報錯了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 關(guān)注
- 635 瀏覽
添加回答
舉報
0/150
提交
取消