

def discard_all(self, repo):
    if sublime.ok_cancel_dialog('Discard all staged and unstaged changes?', 'Discard'):
        if sublime.ok_cancel_dialog('Are you absolutely sure?', 'Discard'):
            repo.git(['reset', '--hard'], cwd=repo)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusDiscardCommand.discard_all/VarMisuse@36/76 `self`->`repo`