I am trying to run git grep from terminal (using Titanium). The results do not wrap and get cut off at the window so I cannot read anything. I tried messing around with config but could not get anything. How can I make these grep results wrap?
Share
Have you set
core.pagerin your.gitconfig? If you are usingless, you can see the extra characters by pressing the right arrow key on the keyboard.Edit: Even when I unset
core.pager,git grepseems to invokeless -Sby default.Edit 2: Whoops, as Keith Thompson pointed out
lessdoes wrap lines by default. From the man page: