git version 2.45.0.windows.1 Windows 10 Enterprise
I have recently experienced a weird behaviour with my git installation. Suddenly i got git not recognised as external or internal command when keying it in on the cmd command prompt.
I checked that it's actually installed under program and files, and so i added it to the system path environment variables.
It now recognises the git command but I can't access its content, branches, log, git config --global --list etc. When issuing this commands I get
there is no -F option ("less --help" for help)>
Any idea what this may be?
lessas a pager but doesn't do that correctly.git-bashopen the 2 files/etc/gitconfigand~/.gitconfigwithnotepad /etc/gitconfigandnotepad ~/.gitconfig. Search forlessand check if any option (likecore.pager) is set toless.LESSwith options which are not compatible withless.