1

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?

3 Answers 3

2

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)

Sign up to request clarification or add additional context in comments.

Comments

1

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.

1 Comment

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.
0

It also may be a weird permissions error.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.