Accidentally broke/remapped git command line command
- by Kevin Teh
I think I accidentally remapped my git command to automatically include the subcommand credential-osxkeychain on the command line while trying to install a git credential-helper. When I enter
$git
it now displays
Usage: git credential-osxkeychain <get|store|erase>
How can I fix it?
Entering
$alias
returns
alias rvm-restart='rvm_reload_flag=1 source '\''/Users/teh/.rvm/scripts/rvm'\'''
Entering
$which git
returns
/usr/bin/git
I think the problem may have began when I entered a command to move git-credential-osxkeychain into
/usr/bin/git
instead of
/usr/bin/