Offer git commit --amend after previous git commit (#764)
This commit is contained in:
committed by
Joseph Frazier
parent
7b10a86267
commit
797ca1c564
@@ -0,0 +1,11 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user