mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-21 10:08:59 +00:00
12 lines
203 B
Python
12 lines
203 B
Python
from thefuck.specific.git import git_support
|
|
|
|
|
|
@git_support
|
|
def match(command):
|
|
return ('commit' in command.script_parts)
|
|
|
|
|
|
@git_support
|
|
def get_new_command(command):
|
|
return 'git commit --amend'
|