How do I check out what was in my git repository N days ago?

后端 未结 1 606

I have to check out my source code from two days ago. Whenever I have to do this, I have to look up the syntax. It\'s not in the git-checkout page. I\'d like to have a conven

1条回答
  •  日久生厌
    2021-02-11 21:00

    git checkout @{two.days.ago}
    

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