1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-07-08 16:13:23 +01:00
Files
thefuck/thefuck/rules/git_commit_amend.py

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'