mirror of
https://github.com/nvbn/thefuck.git
synced 2024-10-05 18:31:10 +01:00
feat : Replace 'commit' with 'git commit',which is a common mistake beginners makes
This commit is contained in:
parent
3e157641e9
commit
691302d6b1
@ -0,0 +1,11 @@
|
|||||||
|
def match(command):
|
||||||
|
|
||||||
|
return (
|
||||||
|
command.script == "commit"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
def get_new_command(command):
|
||||||
|
return (command.script.replace("commit","git commit",1))
|
Loading…
Reference in New Issue
Block a user