Recently, I switched to SLES 11. I found a problem for git command. All the ANSI color could not be rendered. Instead, it shows the ANSI code like this:
*ESC
OK, I got it. This problem is to do with the variable LESS.
following line resolve this problem:
export LESS="-erX"