Git can't checkout a repo from github


I am really confused with this. I am a avid github user and never have had a problem before. However, when checking out a fork I just made of the repo travis-ci/travis-core, whether using https or ssh, I run into this bug after tortisegit finished downloading the git repo but before checking it out for the first time. Anything that could cause this? Thanks for the help!

remote: Counting objects: 29130, done. remote: Compressing objects: 100% (16427/16427), done. Receiving objects: 100% (29130/29130), 8.37 MiB | 265.00 KiB/s, done. Resolving deltas: 100% (13171/13171), done. remote: Total 29130 (delta 13171), reused 27543 (delta 11662) error: unable to create file spec/fixtures/github/api.github.com/orgs/travis-ci?per_page=100.json (Invalid argument) error: unable to create file spec/fixtures/github/api.github.com/users/svenfuchs?per_page=100.json (Invalid argument) 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'


The file travis-ci?per_page=100.json is not a valid filename on Windows. You can see that there are actual files named like this in the repo, eg <a href="https://github.com/travis-ci/travis-ci/blob/master/spec/fixtures/github/api.github.com/users/svenfuchs/repos%3Fper_page%3D9999.json" rel="nofollow">repos?per_page=9999.json</a>

You can maybe clone this repo on cygwin (such a filename would be valid in a cygwin shell), remove the offending files, manually or by filtering the branch with git filter-branch --subdirectory-filter and then proceed to put your fork back on github.


  • Need a Java and Javascript diff tool written in Java
  • Travis.yml failing with minimalistic contents?
  • Convolutional neural network not converging
  • Why no segmentation fault on strcpy? [duplicate]
  • How to propagate a parameter for joins in a ORM
  • Initial Token is cassandra is not working as expected
  • How to compare two pdf files? [duplicate]
  • Go App On Heroku With Local Packages
  • reactjs - fetch as google displays blank page only
  • build-pysnmp-mib: convert cisco mib files to a python fails on Ubuntu 14.04
  • What's the meaning of the ethereum Parity console output lines?
  • Get the network interface type in Linux via C program
  • Custom property: gotta be something obvious I'm doing wrong
  • Android ksoap2 nullable type
  • Echo specific rows from a mysql database
  • JPEGEncoderOptions is undefined
  • Another object on this page already uses ID 'XXXXXXX'
  • Create cameraview (mask) on surfaceview in android
  • Difference between AUTO_ACKNOWLEDGEMENT mode with and without Spring JMS
  • ERROR in Metadata version mismatch for module
  • Test URLs for SNMP Agents
  • Heroku push hanging on “fetching gem metadata from rubygems” with no errors or trace of any kind
  • How can I convert this tuple of tuples into a count of its elements?
  • Error - Web Page Has Expired in PHP?
  • Python : number of characters in text file
  • error C2099: initializer is not a constant
  • Problem with sockets in C#
  • How to define log4j2 path by application.properties?
  • Jackson mapper write id instead of entire object
  • Gerrit will not push. Error: No common ancestry
  • Android Chronometer starts and stops but carries on counting when stopped
  • init_seg and warning C4073 from library code?
  • EntLib Way to Bind “Null” Value to Parameter
  • Function calls are not supported. Consider replacing the function or lambda with a reference to an e
  • Force show.bind execution
  • How VBA declared Volatility works
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Debug.DrawLine not showing in the GameView
  • CSS Linear-gradient formatting issue accross different browsers
  • Python/Django TangoWithDjango Models and Databases