Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseGit: How do I temporarily switch to an earlier version

In Git I have made a bunch of changes to my master branch, and I also have created a tag called 'BeforeDynamicCasts'. I wish to temporarily switch to 'BeforeDynamicCasts', and then revert back to my master branch.. How can I do this?

enter image description here

I can do switch/checkout to the tag, but not sure how to get back to the master branch afterwards. Is this the correct way to do it? Last time I did this I was not able to get back to my original master branch.

like image 429
Flethuseo Avatar asked Oct 26 '25 10:10

Flethuseo


1 Answers

  • Explorer -> Switch/Checkout
  • Select branch, master
  • OK
like image 167
linquize Avatar answered Oct 28 '25 23:10

linquize



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!