TortoiseGit: How do I temporarily switch to an earlier version

雨燕双飞 提交于 2019-12-13 15:24:33

问题


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?

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.


回答1:


  • Explorer -> Switch/Checkout
  • Select branch, master
  • OK


来源:https://stackoverflow.com/questions/23070178/tortoisegit-how-do-i-temporarily-switch-to-an-earlier-version

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!