mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

is 'mdbook build --dest-dir=/tmp/dir1' remove '/tmp/dr1/*'

Open ayoubelmhamdi opened this issue 1 year ago • 1 comments

I want to use worktree in temp dir

$ git worktree add /tmp/dir1/html gh-pages

to commit the new files or modified files only

but, mdBook remove all old files and .git in /tmp/dir1/html/.git when I use:

mdbook build --dest-dir=/tmp/dir1

ayoubelmhamdi avatar Sep 12 '22 11:09 ayoubelmhamdi