Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

"git pull" doesn't respect --work-tree parameter

From: Alexey Zakhlestin <hidden>
Date: 2016-06-15 22:50:17

I am trying to use the following command:

git '--git-dir=/path/to/repository/.git' '--work-tree=/path/to/repository' pull

and get this error:
"git-pull cannot be used without a working tree"

I get the same error, if I try to use corresponding environment variables


looks like a bug, because I can, successfully, use "git status" with
the same --git-dir and --work-tree parameters

-- 
Alexey Zakhlestin, http://twitter.com/jimi_dini
http://www.milkfarmsoft.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help