第一次用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.
侃侃无极
慕斯709654