使用git過程當中遇到的問題:導出文件是不能正常導出,須要更改終端的字符顯示列數 set | grep COLUMNSphp
正常以下:git
git diff --stat v.m.4.add.girl.weather 4e7e05aefubuntu
templates/templates/activity/2014/award/index/index_index.php | 414 +++++++bash
templates/templates/activity/2014/award/index/index_index.php.bak | 439 ++++++++++spa
www_award_site/activity/2014/award/action/index/index.php | 90 +++++code
異常以下:get
git diff --stat v.m.4.add.girl.weather 4e7e05aef > /tmp/ait
cat /tmp/aio
.../activity/2014/award/index/index_index.php | 414 ++++++stream
.../activity/2014/award/index/index_index.php.bak | 439 ++++++++++
.../activity/2014/award/action/index/index.php | 90 +++
解決方法:
you would have to add export COLUMNS=200
after the quoted shopt -s checkwinsize
or at the very end of .bashrc
.
http://askubuntu.com/questions/219547/how-do-i-get-more-than-80-columns-in-command-line-mode