How to checkout and reset using smartgit?

后端 未结 1 1718
孤城傲影
孤城傲影 2021-01-24 21:29

Need help in understanding the below

1). How do i check out to a particular commit and again revert back to the recent commit ?

Tried branch->checkout->same bran

相关标签:
1条回答
  • 2021-01-24 22:15

    (1) Usually, branch refs won't be changed by a Check Out, so you may use Check Out again to switch back to your branch: simply select the corresponding branch for "Showing Branches" selector.

    If the branch ref to your old head is actually lost, you can open the Log and use Query|Load All Commits to display all such heads, then add a temporary branch ref to the corresponding head and check out this head.

    (2) Local|Reset should work for you.

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