Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Doing a checkout into a filled directory

Jan R September 13, 2016

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 )

1 answer

0 votes
Rich Duncan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2016

It sounds like what you might want to check out to a subfolder in the working directory by providing a value for 'Checkout Directory'

 

-Rich

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events