Skip to content

Can local .gitconfig settings be automatically reflected in dev containers launched from Codespaces? #121587

Discussion options

You must be logged in to vote

You can enable GitHub Codespaces to use a dotfiles repository. It will copy the files from that repository to your home directory, unless you have a script like setup.sh. If you have a setup script, it will run that instead. This can be helpful if you need specific control, like codespace-only configuration (you can check "$CODESPACES" == true to see if you're in a codespace).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bells17
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question
3 participants