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

后端 未结 7 1889
一个人的身影
一个人的身影 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:15

    git checkout HEAD~1
    

    This will move your current HEAD to one revision earlier.

    git checkout 
    

    This will move your current HEAD to the given revision. Use git log or gitk to find the revision you’re looking for.

提交回复
热议问题