On Wed, 2 Oct 2013 14:30:14 +0400
Konstantin Khomoutov <flatw...@users.sourceforge.net> wrote:

[...]
> cd /var/www/siteA
> export GIT_INDEX_FILE=`mktemp siteA.XXXXXXXX`
> trap "rm -f '$GIT_INDEX_FILE'" INT TERM QUIT EXIT
> git read-tree HEAD
> git checkout-index -a -f
[...]

git read-tree HEAD

here is stupid in fact; for your task an explicit ref representing
a branch would be much better, like in

git read-tree refs/heads/master

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to