What's the git equivalent of “svn update -r”?

后端 未结 7 1892
一个人的身影
一个人的身影 2021-02-01 12:16

I\'m a recent git convert. It\'s great to be able to use git-svn to keep my branches locally without disturbing the svn server. There was a bug that existed in the latest versio

7条回答
  •  旧巷少年郎
    2021-02-01 13:03

    And getting back to latest (equivalent to: svn up), you'll need to update the branch, usually:

    git checkout master
    

    This is because the HEAD refers to the version that is being checked out.

提交回复
热议问题