Re: .git as file pointing to directory?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 4, 2010, 18:43 UTC
- Message-ID
- <20101104184321.GA16929@burratino>
- In-Reply-To
- <AANLkTikB4p9=EQRsAJTe4-nAw5udz2pfcRd4WPsfms86@mail.gmail.com>
Hi Brad,
Brad Larson wrote:
> At gittogether there was some talk about having .git be a file, not a > folder, with contents pointing to the real .git directory. Similar to > a symlink, but supported in Windows.
It is called a .git file. See gitrepository-layout(5), v1.5.6-rc0~93^2~3 (Add platform-independent .git "symlink", 2008-02-20), and the recent rebase not handling core.worktree thread[1].
Hope that helps, Jonathan
[1] http://thread.gmane.org/gmane.comp.version-control.git/160488/focus=160567