Git with Qt Creator Basics: How to Reset Changes

In this post I’ll describe how to reset the changes and discard whatever you have done (maybe you decided the changes weren’t required at all) using Git in Qt Creator. If you already know how to install Git and use it with Qt Creator then continue reading, if not then you should first read this post to get you up on feet.



Select Git / Local Repository / Reset as seen in the picture below:

qt git reset

You will be provided with a list of versions, the top one is the latest. Select it and press OK.

2016-09-23-5

Finally you’ll be asked to confirm if you want to reset the changes. Press Yes to confirm and continue with the latest version.

qt git reset


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.