1
0
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:
unknown 2023-07-11 13:54:10 +09:00
parent 3e157641e9
commit 691302d6b1
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
def match(command):
return (
command.script == "commit"
)
def get_new_command(command):
return (command.script.replace("commit","git commit",1))