Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while using git with Github Codespace #40

Open
vrnithinkumar opened this issue Apr 26, 2024 · 1 comment
Open

Getting error while using git with Github Codespace #40

vrnithinkumar opened this issue Apr 26, 2024 · 1 comment
Assignees
Labels

Comments

@vrnithinkumar
Copy link

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).
@nicbet
Copy link
Owner

nicbet commented Apr 28, 2024

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.

@nicbet nicbet self-assigned this Apr 28, 2024
@nicbet nicbet added the bug label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants