Undo Check Out And Discard Changes To. There are three options in Git that help to undo your local changes To view the changes that have been made in your working directory you should run git status. Under the Changes section find the file that you want to restore to the previous version.
Calling the UndoCheckOut method is the equivalent of clicking Discard Check Out on the Check In drop-down menu click the File tab and then click Info. If you check out a file from a library on a site make changes and then decide you dont want to keep the changes that you made you can undo the check-out. Open up the Changes view in Team Explorer.
Its just marked to show that you have exclusive editing rights until you check it back in.
I tried to discard the changes by just closing the Power Query Editor and was told I had changes that needed applied. Its worked for me. To undo changes in the working directory you can edit files like you normally would using your favorite editor. The Closing Document dialog lets you decide what to do with a checked-out file in Microsoft Word Excel or PowerPoint when that file or the application is closed.