Why GIT reports "fatal: This operation must be run in a work tree" when exporting from bare repo?
Posted
by Daniel Milde
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Milde
Published on 2010-06-08T09:55:56Z
Indexed on
2010/06/08
12:42 UTC
Read the original article
Hit count: 672
Hi, if I export from bare GIT repository using git archive command I get error message: "fatal: This operation must be run in a work tree", altough the export passes properly.
So my question is: Is there any issue when exporting from bare repository? I checked the exported archive and it looks alright.
Thanks
© Stack Overflow or respective owner