Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

git town undo

git town undo [-v | --verbose]

The undo command reverts the last fully executed Git Town command. It performs the opposite activities that the last command did and leaves your repository in the state it was before you ran the problematic command.

Options

-v
--verbose

The --verbose aka -v flag prints all Git commands run under the hood to determine the repository state.