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

后端 未结 7 1791
一个人的身影
一个人的身影 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 <sha>
    

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

    0 讨论(0)
提交回复
热议问题