Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Fatal Error when using Graphics Magick convert command

When I try to use a Graphics Magick command, (something simple, just to test the program) I cannot do anything, as it always replies back with a git error.

gm convert
fatal: Not a git repository (or any of the parent directories): .git

I did not put any particular action, as nothing works

like image 867
Enzo Avatar asked Apr 04 '15 23:04

Enzo


2 Answers

Thanks to Marth I found my problem. I have intalled oh-my-zsh because I really love the customization and auto-complete features, but I don't usually use Git, so I'm not familliar with the feautres it has. Oh-my-zsh comes with a git plugin with some aliases pre-built, and there was my problem.

Thanks for your help, Marth!

like image 98
Enzo Avatar answered Nov 07 '22 22:11

Enzo


You may have installed oh-my-zsh. In the oh-my-zsh, there is 'gm'(git merge alias)

So, you have to modify alias, in file

~/.oh-my-zsh/plugins/git/git.plugin.zsh

find gm keyword and modify to different name.

like image 43
junho Avatar answered Nov 08 '22 00:11

junho