-
Notifications
You must be signed in to change notification settings - Fork 148
cmd/gb conflicts with git branch alias #4
Comments
Im sorry to hear that, I am not planning on changing the name of the tool at the moment, you could rename gb to something else to work around this. |
This is usually an issue with the oh-my-zsh git plugin, and not a standard git install. If you |
@elithrar thank u |
I've had a second report of this issue so I want to reopen the bug for discussion. The core problem appears to be that some shells and installers (for git I think) create The solution is to rename However I am not proposing that at this time, I would like to leave this issue open for others to comment so I can get a feel for just how big of an issue this potential conflict is. /cc @wkennedy |
I ran into this today with the prezto config framework for ZSH. All I had to do to fix it was to rename the aliases from gb* to gbr*. It was easy for me because I have forked the prezto repo, but the standard install procedure for most ZSH config frameworks is to clone it into $HOME, which would make the situation a little more complicated. Renaming the gb command is not necessary; users should update their aliases. |
For posterity: As per my other comment, one of the most common causes is the "git" plugin (I also wouldn't rename the tool either!) On Thu, May 14, 2015 at 6:19 AM Jesus Alvarez notifications@github.com
|
Can someone include the output they see when oh my zsh takes over, I'll write a fan entry and close this issue.
|
~ gb
fatal: Not a git repository (or any of the parent directories): .git
~ which gb
gb: aliased to git branch |
No description provided.
The text was updated successfully, but these errors were encountered: