nicbet/docker-phoenix

Getting error while using git with Github Codespace

vrnithinkumar opened this issue · 1 comments

I started a codespaces from this repo and tried git status and getting this error below

> git status
warning: unable to access '/root/.gitconfig': Is a directory
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Hi @vrnithinkumar,

the issue is in

- ~/.gitconfig:/root/.gitconfig

where the VSCode dev container configuration attempts to mount the git repository. I'll take a look at how we can make that compatible with Github Codespaces.