执行git push提示Everything up-to-date

原因:

            1). 你想提交到分支, 却提交到主分支, 而主分支已经为最新, 查看当前分支是什么, git branch
                git push origin master ---> master 是主分支呀
                应该
                git push origin 分支名称
                git push origin dev
        
            2). 你的文件没有改变, 所以一直处于最新状态

            3). 没有git add . 把当前文件添加到暂存区 or 没有执行git commit -m "" 贴标签

 

相关文章:

  • 2021-10-06
  • 2021-11-20
  • 2021-11-14
  • 2021-06-27
  • 2021-10-29
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2021-07-29
  • 2022-01-10
  • 2021-11-21
  • 2021-08-11
  • 2022-01-11
  • 2021-09-17
相关资源
相似解决方案