I try to checkout a repository into a filled build directory (first step -> prepare the environment, second step -> checkout code) but it fails with the message:
"fatal: destination path: XXX already exists and is not an empty directory".
I could add the "clean" flag for the checkout process, but than my platform is missing. How could i just do a normal checkout within the current (not empty) build directory? ( a git init + git remote add + git pull instead of git clone )