1):
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:JSL22/JSL22.github.io.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: 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.
解决(1) :
$ git pull --rebase 地址值 分支名 //会产生一些意外
解决(2):
$ git push 地址值 分支名 -f
2):1)中造成的问题及解决
![](https://i-blog.csdnimg.cn/blog_migrate/4ab686bd7ae9d803975e53e9b7579044.png)