Co-authored-by: streats <streats@users.noreply.github.comgit config --global user.emailgit config --global user.email streats@users.noreply.github.comgit config --global user.name> Co-authored-by: hubwriter <hubwriter@github.com>
1.5 KiB
1.5 KiB
title, allowTitleToDifferFromFilename, intro, product, versions, type, topics, shortTitle
| title | allowTitleToDifferFromFilename | intro | product | versions | type | topics | shortTitle | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Troubleshooting dotfiles for GitHub Codespaces | true | Troubleshooting steps for common dotfiles issues. | {% data reusables.gated-features.codespaces %} |
|
reference |
|
Dotfiles |
If your codespace fails to pick up configuration settings from dotfiles, you should work through the following debugging steps.
-
Enable dotfiles by selecting Automatically install dotfiles in your personal {% data variables.product.prodname_github_codespaces %} settings.
-
Check
/workspaces/.codespaces/.persistedshare/dotfilesto see if your dotfiles were cloned.- If your dotfiles were cloned, try manually re-running your install script to verify that it is executable.
- If your dotfiles were not cloned, check
/workspaces/.codespaces/.persistedshare/EnvironmentLog.txtto see if there was a problem cloning them.
-
Check
/workspaces/.codespaces/.persistedshare/creation.logfor possible issues. For more information, see Creation logs.
If the configuration from your dotfiles is correctly picked up, but part of the configuration is incompatible with codespaces, use the $CODESPACES environment variable to add conditional logic for codespace-specific configuration settings.
