当前位置:   article > 正文

git commit提示nothing to commit, working tree clean

nothing to commit, working tree clean

git commit后git status显示:nothing to commit, working tree clean解决办法
git 把本地分支设成远程分支的跟踪分支:

git branch -u origin/remoteBranch
  • 1

git查看追踪分支:

git branch -vv
  • 1

git push origin remoteBranch提示: src refspec 10.8.0.1_TraceFileProcessingReport does not match any.解决办法
git push到远端不同名分支:

git push origin HEAD:remoteBranch
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/588543
推荐阅读
相关标签
  

闽ICP备14008679号