Tag: windows

What are the commands for using Git Bash in Windows e.g. when in git diff mode?

In Windows, in Git Bash, if I do a git diff I get all the differences flushed to the console with some sort of prompt to control the output buffer. What are the commands I can use in this mode of Git Bash? I don’t know where to look for a quick reference. I’ve worked […]

Unable to add plugins with Cordova 3.3.0 CLI on Windows – '“git” command line tool is not installed: …”

I am having trouble adding a plugin to Cordova 3.3.0 on Windows. I have node.js installed. I have been able to create a project. I have git installed and the git bin directory is on my PATH. I am able to run git on the windows command line. But when I try to install a […]

git-cheetah modifying path environment variable multiple times

Just wanna find out if anyone has had a similar experience to this. Git seems to be modifying my path environment variable, hereafter referred to as $path, such that if after having my system running for a few days the $path is 1 huge mess! After a clean boot $path looks something like this: D:\WINDOWS\system32;D:\WINDOWS;D:\Apps\Development\Git\cmd;D:\Apps\Development\Android\android-sdk\platform-tools;D:\Apps\Development\phantomjs-1.9.7-windows;D:\Apps\Tools\GnuWin32\bin […]

No console colors if using npm script inside a Git bash (mintty)

Introduction Using chalk I have written a small console program for printing colored text, which I execute with NodeJS: console.log(require(‘chalk’).yellow(‘yellow text’)); The program prints the string “yellow text” in yellow. If I execute the script directly with node, it outputs: $ node test.js yellow text (the text is actually yellow indeed). This works independent from […]

ssh: Could not resolve hostname github.com + STATUS_ACCESS_VIOLATION at eip=68086014

Original question From a few hours of struggling with installing git on Windows 7. First I installed the GitHub on Windows but not appealed to me. Then I installed the Git-1.9.2-preview20140411 and have started to have problems. I suppose that there is a conflict by multiple installations. So I uninstalled everything. I decided to try […]

How to add man and zip to “git bash” installation on Windows

I am using “git bash” on Windows – that is git for Windows via the integrated bash. Apparently it uses the MINGW/MSYS underpinning. (Update from @VonC: It now uses msys2 since msysgit is obsolete since Q4 2015.) So there are already a lot of MSYS tools installed – from awk to zcat. However I miss […]

How to deal with Git Submodules in Visual Studio solutions with different layout?

We develop with Visual Studio 2010 (in C#) and migrated a while ago from SVN to GIT. Now we try to split up our repository (which is quite big – ~30.000 files) to many git repositories – one for each solution. The solutions share some projects, mostly libraries we develop in-house and like to add […]

error: cannot run ssh: No such file or directory when trying to clone on windows

I am trying to clone on windows a remote repository, so when i did this: git clone git@github.com:organization/xxx.git I got this error: error: cannot run ssh: No such file or directory fatal: unable to fork Am i missing something ? Thanx in advance.

pipe is returning empty string in bash in git for windows

Edit: Issue has been resolved after update to Git for Windows >= 2.9.0.windows1 Disclaimer Some comments are referring to full “story” behind this issue but I decided to shorten it because it was getting too long and hard to follow. I present you as succinct failing example as possible. For those who are interested in […]

mysterious git behaviour

I have since fixed this problem. But I still don’t know why what I did worked. We have an svn repository for our code at work. I have a local git-svn repository because I <3 Git. 🙂 We use Windows, so I use Cygwin. I think the latest version in Cygwin is Git 1.7.0.4. On […]

Git Baby is a git and github fan, let's start git clone.