Files
thefuck/thefuck/rules/git_rebase_no_changes.py
T
2017-08-31 17:58:56 +02:00

14 lines
306 B
Python

from thefuck.specific.git import git_support
@git_support
def match(command):
return (
{'rebase', '--continue'}.issubset(command.script_parts) and
'No changes - did you forget to use \'git add\'?' in command.output
)
def get_new_command(command):
return 'git rebase --skip'