views:

113

answers:

3

I have repository at github for ruby on rails project. First time i did push from comp. under windows system with msysgit. Then cloned this project from another comp. under ubuntu, did some changes, commited and pushed to repository at github. Now when i try to pull or even clone this repository from my comp. with windwos it results in error:

fatal: cannot create directory at db:migrate

Any idea how to solve this problem? And what is wrong?

+2  A: 

You would not be out of disk space?
This is the usual reason for that kind of error message.

Other reason: a directory with a non-Windows naming convention (like this thread, where a directory contains an extra space at the end of its name)

VonC
+1  A: 

The question is: why does git complain about db:migrate, which is a rake task and not a file on the filesystem. Maybe you accidentally created this file and are now trying to create it on the file system? I think "db:migrate" isn't a valid name for a directory.

Edwin V.
True. I looked at files and dirs of my project and saw db:migrate directory that was created when i misstyped "rails" instead of "rake" when did migrations. Thank you.
ebsbk
A: 

It also may be a weird permissions error.

epid