Question

I have a developer on a Windows 8 computer who's installed git from Git-Scm who can't use git rm to remove files from his repo.

git --version output:

version 1.8.1.msysgit.1

When he attempts to untrack the file, he gets this message:

fatal: pathspec '<path>' did not match any files

I'm not sure what the issue is, we've tried a variety of ways of entering the path from Windows (./folder/file, "./folder/file", folder/file, "folder/file") and none of the attempts have worked so far.

I could just remove the files on my machine if I wanted, but I'd like to know what the issue is with Git here. Why can't he git rm files?

Was it helpful?

Solution

Using git through the command line wasn't working, period. And yes, we know the difference between a tracked and untracked file guys, we aren't git retarded.

I eventually fired up the gui, and only through that were we able to properly remove the file. This has been an issue before, so I think it's a bug in Git-Scm's bash prompt.

EDIT:

Actually, I'm quite literally retarded. git commit <removed file>

http://ragefaces.s3.amazonaws.com/5041f6fdae7c704ffe000001/facepalm.png

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top