Re: git pull and GIT_DIR

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

 



bill lam <cbill.lam@xxxxxxxxx> writes:

> It appeared that
>
> a)
> cd /path/to && git pull git/https://....
>
> will fetch and checkout latest changes to working tree.  This is as
> expected.  On the contrary
>
> b)
> GIT_DIR=/path/to/.git git pull git/https://....
>
> will ...

-ETOOLITTLEINFO.

When you do b)

 - is /path/to the working tree for /path/to/.git?

 - where is your $(pwd)?

 - if your $(pwd) is different from /path/to, how are you telling git
   where the working tree is?  are you using GIT_WORK_TREE or something?

--
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]