git clone fails - non empty dir

Zardoz's Avatar


27 Jun, 2015 10:57 AM

I'm getting this :

Build started
git config --global core.autocrlf input
nuget install glew_mx
Attempting to resolve dependency 'glew_mx.redist (�'.
Installing 'glew_mx.redist'.
Successfully installed 'glew_mx.redist'.
Installing 'glew_mx'.
Successfully installed 'glew_mx'.
nuget install OpenAL-Soft
Installing 'OpenAL-Soft 1.16.0'.
Successfully installed 'OpenAL-Soft 1.16.0'.
git clone -q --branch=travis git:// c:\projects\tec
fatal: destination path 'c:\projects\tec' already exists and is not an empty directory.
Command exited with code 128

Not should be empty the directoy were appveyour try to clone the github repository ?

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2015 06:22 PM

    Feodor Fitsner's Avatar

    The build directory is not empty because you are installing nuget packages in it before git clone.
    Move nuget install commands to "Install" phase of build.

  2. 2 Posted by Zardoz on 28 Jun, 2015 08:42 AM

    Zardoz's Avatar

    Thanks! I never used nuget before, I'm more GNU/Linux guy

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac