I have a number of git repositories (with commits) and each displays nothing when running git log
. If I run the command outside a project directory (without a git repository) I get:
fatal: Not a git repository (or any of the parent directories): .git
I tried re-installing Git (I'm now running 1.7.5.4) and re-cloning my repositories to no avail. Any ideas?
git log
does not show any commit!
I noticed that not only git log
command but also man
command does not show anything for me.
It turned out that I just needed to set the PAGER
environment variable to less
or more
programs to solve both problems.
export PAGER=less
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With