I'm trying to create an alias to init a repo, but it doesn't work and I'm not really sure why, this is the alias:
> git config --global alias.init-setinfo "git init && git config --global user.name \"myName\" && git config --global user.mail \"myMail@gmail.com\""
Calling it returns:
> expansion of alias 'init-setinfo' failed; 'git' is not a git command