Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to clone a repo to Windows 7 that has an 'aux' directory in it

Tags:

git

windows-7

While trying to clone a git repo - jpeginfo specifically - an error occured,

Cloning into 'jpeginfo'...
remote: Counting objects: 182, done.
remote: Total 182 (delta 0), reused 0 (delta 0), pack-reused 182R
Receiving objects: 100% (182/182), 115.71 KiB | 140.00 KiB/s, done.
Resolving deltas: 100% (99/99), done.
Checking connectivity... done.
fatal: cannot create directory at 'aux': Invalid argument
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'

Apparently 'aux' name of directory is a reserved name on Windows systems. I have no idea how to proceed?

Trying to clone it under cygwin and mingw resulted in the same.

Does anyone have any ideas what would be the easiest way, first - to clone the aforementioned jpeginfo repository, second - to build it under Windows?

like image 346
Rook Avatar asked Nov 10 '22 06:11

Rook


1 Answers

Unless the project changes the name of that folder (as others did), one solution is to install docker, and clone the repo in a container.

Considering jpeginfo is tested on Unix platforms only (Linux, OS X (Snow Leopard), Solaris, IRIX, and HP-UX), that container will be the right build environment too.

like image 59
VonC Avatar answered Nov 15 '22 05:11

VonC