Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

"Clone succeeded, but checkout failed" because of file named ... #208

Closed
hickford opened this issue May 30, 2014 · 5 comments
Closed

"Clone succeeded, but checkout failed" because of file named ... #208

hickford opened this issue May 30, 2014 · 5 comments

Comments

@hickford
Copy link

A repo I'm working on has a file called ... in HEAD. git clone goes badly

> git clone https://github.com/matt-hickford/httpbin.git
Cloning into 'httpbin'...
remote: Reusing existing pack: 1444, done.
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 1455 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (1455/1455), 219.23 KiB | 384.00 KiB/s, done.
Resolving deltas: 100% (826/826), done.
Checking connectivity... done.
error: unable to create file httpbin/templates/... (Is a directory)
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

git clone worked fine on Linux, so is this a bug?

@kusma
Copy link
Member

kusma commented May 30, 2014

Nope, this is not a bug. On Windows, a file name cannot end with a dot.

@kusma kusma closed this as completed May 30, 2014
@t-b
Copy link
Contributor

t-b commented May 30, 2014

@hickford
Copy link
Author

Thank you both.

@kusma
Copy link
Member

kusma commented May 31, 2014

@t-b: Nice, I was not aware!

@sanjeevkalakuntla
Copy link

Thanks it is working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants