Detecting GIT_DIR runtime

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

 



I have a tree like
/home/mvaidya/WORKSPACE/nvos/mvaidya-master-100.local/some/folder

I would like to issue come command say "git fetch" from any level of
the tree. How can I deduce path of .git folder. Reason I need it as I
some application configuration saved in .git/workspace.properties and
I need to some action before git fetch.



-- 
Thank you and best regards.
Mahesh Vaidya  / 9740500144
http://www.twitter.com/forvaidya
--
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]