Merge pull request #10 from jaehyeonpy/new/git-add-no-git

feat : Replace 'add' with 'git add',which is a common mistake beginners makes
This commit is contained in:
jaehyeonpy 2023-07-11 11:52:02 +09:00 committed by GitHub
commit 71cb35926c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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