Discarding All Local Changes
In this episode, we will learn how to undo all of the local changes you made since you last committed.
Transcript
There are times when you’d really like to start over - when you’d like to undo all of the local changes you made since you last committed. You want to return your complete project to the last committed state.
With Tower you can do that easily. In the sidebar, simply right-click the “Working Copy” item. And then select “Discard all local changes” from the menu. That’s it!
Please be careful with this command: you won’t be able to get these changes back once they’re gone!
Course outlineEpisode 4 of 17
- Discarding All Local Changes in a File
- Restoring a Deleted File
- Discarding Chunks / Lines in a File
- Discarding All Local Changes
- Fixing the Last Commit
- Reverting a Commit in the Middle
- Resetting to an Old Revision
- Resetting a File to an Old Revision
- Recovering Deleted Commits
- Recovering a Deleted Branch
- Moving a Commit to a New Branch
- Moving a Commit to a Different Branch
- Editing Old Commit Messages
- Deleting Old Commits
- Squashing Multiple Commits into One
- Adding a Change to an Old Commit
- Splitting / Editing an Old Commit