Back to Browse

Git Undo All Changes Since Last Commit

1.1K views
May 21, 2019
4:41

In this video, I'll show you how to undo all your changes since your last commit using git. Another way of saying this is to revert all your changes since your last commit. In git, revert has a special meaning but in human language, we're basically just trying to undo all changes since our last commit. For example, if I have an initial commit, and I've since added files and directories, and I no-longer want them there, how do I undo all the changes? That's what this video will show. Helpful Links - https://git-scm.com/docs/git-clean - https://stackoverflow.com/questions/4630312/reset-all-changes-after-last-commit-in-git - https://stackoverflow.com/questions/1090309/git-undo-all-working-dir-changes-including-new-files/19032417

Download

1 formats

Video Formats

360pmp48.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Git Undo All Changes Since Last Commit | NatokHD