1

my git is messed up for all commands, how can I fix it?

view story
linux-howto

http://unix.stackexchange.com – I did this (was trying to set an 'self' alias with -v): git() { if [[ $1 == "commit" ]]; then command git commit -v; else command git "$@"; fi; } git() { if [[ $1 == "commit" ]]; then command git commit -v; else command git "$@"; fi; } git() { git commit }; ) git() { git commit; } git() { git (); } git() { git(); } git() { git() } and now all git commmands hang - no error but no return prompt. I've uninstalled and installed git but it hasn't helped. How can I reset git command back to the default? I've tried mv .gitconfig .gitconfig_old but it didn't help. (HowTos)