usc-csci200-fall2012/factory_project

Issue accessing Git log

Closed this issue · 4 comments

use of git log results in the following error:

There is no -F flag ("less -?" for help)

@ad510, I recall you mentioned a solution for this. Can you chime in?

Git passes some flags to less that the version on aludra doesn't understand. I couldn't figure out how to stop Git from passing that flag (it seems to have some config settings to do that but I couldn't figure out how to use them), so I set the pager to more instead.

git config --global core.pager more

If you prefer to use less, you can pipe the output to less manually:

git log | less

I only have this problem on aludra and not on other computers.

@rtani1123 Can you confirm that using:

git config --global core.pager more

fixes the problem. Close the issue if it is.

Verified to work by another student, 0.25 EC for @usc-csci200-fall2012/team11