git config –global core.pager “less -r”

记录一下,解决diff 和 log出现 ESC 之类的乱码问题。

Category: Linux / BSD
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
No Responses
  1. minecraft says:

    Hello there, just became alert to your blog through Google, and found that it is truly
    informative. I am gonna watch out for brussels. I will appreciate if you continue this in future.
    Numerous people will be benefited from your writing. Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image