Closed eeroan closed 11 years ago
I have this:
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
in my .gitconfig
It works great with bash, but when entering git sh, I get this error:
bash: eval: line 24: syntax error near unexpected token (' bash: eval: line 24:gitalias lg='git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative''
(' bash: eval: line 24:
Any idea?
I use the exact same 'pimped out' git log alias and have no issues. Try a more recent version of git-sh.
My system:
Nice. Closing as stale for now.
I have this:
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
in my .gitconfig
It works great with bash, but when entering git sh, I get this error:
bash: eval: line 24: syntax error near unexpected token
(' bash: eval: line 24:
gitalias lg='git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative''Any idea?