How can I find the location of origin/master in git, and how do I change it?

前端 未结 13 544
悲哀的现实
悲哀的现实 2020-12-02 03:33

I\'m a Git newbie. I recently moved a Rails project from Subversion to Git. I followed the tutorial here: http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-yo

13条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 03:58

    sometimes there's a difference between the local cached version of origin master (origin/master) and the true origin master.

    If you run git remote update this will resynch origin master with origin/master

    see the accepted answer to this question

    Differences between git pull origin master & git pull origin/master

提交回复
热议问题