使用标准git命令时出错:
[~/site]$git branch git:1: maximum nested function level reached
.zshrc:
plugins=(git osx colored-man gem brew go bundler rake rails) source $ZSH/oh-my-zsh.sh
解决方法
我的错误,我将bash函数移动到zsh:
gr() {
git rebase -i HEAD~$1
}
解:
function gr() {
git rebase -i HEAD~$1
}
