how to fix "WARNING: terminal is not fully functional" error in command console?

GitCommand Line

Git Problem Overview


I was using hg, now I am converting to Git.

But after installing it, every time I do "git diff" or "git log", I get this error: WARNING: terminal is not fully functional.

How do I get rid of this?

Git Solutions


Solution 1 - Git

Q: How are you connecting to Git?

For example, if you're using Cygwin on Windows, try this:

TERM=msys

If you're on Linux (or connecting to a Linux server via putty), then try this:

export TERM=msys

If you're running from a Windows command prompt:

<Rclick>Computer, Properties, 
  [Advanced System Settings], [Advanced], [Environment Variables]
  Create a new System variable "TERM", value "msys"

Solution 2 - Git

In case someone gets this using Git Extensions, check the setting for Path to linux tools.... Mine was set to C:\cygwin. Changing it to C:\Program Files (x86)\Git\bin\ fixed it for me.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioniCodeLikeImDrunkView Question on Stackoverflow
Solution 1 - Gitpaulsm4View Answer on Stackoverflow
Solution 2 - GitClayView Answer on Stackoverflow