Re: git pull and GIT_DIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is non-bare and /path/to is the working tree.  The git pull was
run inside a shell and $(pwd) is $HOME.  GIT_WORK_TREE is not used.
This let me remember that there were some directories/files checkout
under $HOME that should be under /path/to.  I might recall
incorrectly, but does it mean that it need to use the form

GIT_DIR=/path/to/.git GIT_WORK_TREE=/path/to git pull url

to make it to the samething as

cd /path/to && git pull url

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]