×

Sign in with twitter.

You can follow the user and hashtags.

Share your tips on social media.

Post relative tips.

If you have relative tips, click [Add relative tips] to post.

gitのdiffやlogで、長い行が右端で切れる場合の対応

@cakephper@cakephper 2669 viewer 46 embed viewer embed
~/.gitconfigファイルに下記を追加

[color]
ui = auto
[core]
pager = less -r

ui=autoで色をつけて、pagerで折り返し指定


参考
http://d.hatena.ne.jp/sugyan/20100507/1273209155


#git

Click this to change format.

Add relative tips

Users who share this tip.

Comments