Merge pull request #701 from Epse/#670-git_remote_delete

fixed #670
This commit is contained in:
Vladimir Iakovlev
2017-10-08 16:25:59 +02:00
committed by GitHub
3 changed files with 37 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
from thefuck.utils import replace_argument
from thefuck.specific.git import git_support
@git_support
def match(command):
return "git remote delete" in command.script
@git_support
def get_new_command(command):
return replace_argument(command.script, "delete", "remove")
enabled_by_default = True