Merge pull request #8 from jaehyeonpy/new/git-init-no-git
feat : Replace 'init' with 'git init' which is a common mistake beginners makes
This commit is contained in:
commit
5f1b4b697b
|
|
@ -0,0 +1,11 @@
|
|||
def match(command):
|
||||
|
||||
return (
|
||||
command.script == "init"
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
return (command.script.replace("init","git init",1))
|
||||
Loading…
Reference in New Issue