执行git pull显示already up-to-date,但是本地代码并没有显示出来其他人的改动

如题
执行git pull显示already up-to-date,但是本地代码并没有显示出来其他人的改动_第1张图片之后我再push我的代码就报错,错误信息如下,但是pull、fetch又显示已是最新,令人头秃

To http://git.sankuai.com/scm/myfe/canary.git
 ! [rejected]            feature/double_redpack1.2 -> feature/double_redpack1.2 (non-fast-forward)
error: failed to push some refs to 'http://[email protected]/scm/myfe/canary.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.

![在这里插入图片描述](https://img-blog.csdnimg.cn/20190722171724710.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM1NzY1MTI2,size_16,color_FFFFFF,t_70执行git pull显示already up-to-date,但是本地代码并没有显示出来其他人的改动_第2张图片最后这么解决了
对git非常不了解,所以有知道原因的大神欢迎补充

你可能感兴趣的:(git)