Git on Windows 7 expecting Linux? /dev/null not found error
- by Klikini
I have installed git (not GitHub) on Windows 7 x64 Home Premium, and I cannot get it to work. Opening Git Bash outputs the following:
Welcome to Git (version 1.9.4-preview20140815)
Run 'git help git' to display the help index.
Run 'get help <command>' to display help for specific commands.
sh.exe": /dev/null: No such file or directory
sh.exe": /dev/null: No such file or directory
sh.exe": /dev/null: No such file or directory
sh.exe": /dev/null: No such file or directory
sh.exe": /dev/null: No such file or directory
sh.exe": /dev/null: No such file or directory
Andy@ANDY-DELL ~
$
If I open the Git GUI, I get a this box:
Title: git-gui: fatal error
Content:
fatal: open /dev/null or dup failed: No such file or directory
Git Gui requires Git 1.5.0 or later.
I also tried GitHub for Windows, but I got an internet connection error when attempting to clone a repo, even though my connection is fine. Is this possibly related?
I have learned so far that /dev/null is the Linux version of the Windows NUL, but why is it trying to do this on Windows?
Thanks in advance.