From: Stefan Beller Date: Tue, 27 Oct 2015 22:54:02 GMT Subject: Re: What's the ".git/gitdir" file? Message-ID: In-Reply-To: <017901d11108$ceb2cd10$6c186730$@com> On Tue, Oct 27, 2015 at 3:42 PM, Randall S. Becker wrote: > Slightly OT: Is there any way of avoiding having that file in the first place? I'm hoping to have a git repository in a normal file system (Posix) and a working area in a rather less-than-normal one where dots in file names are bad (actually a dot is a separator). As said before, I would not expect a file .git/gitdir to be there if not using submodules. For your OT question, I'd presume you'd have environment variables setup export GIT_DIR=path_with_no_dots_and_git_repo_in_it # you mention that is in your posix FS export GIT_WORK_TREE=/some.place.with.dot.separators and you'd be good to go. > > Cheers, > Randall >