githubdotfilescodespacesgithub-codespaces

how can dotfile executeable issue on codespace?


Good day!

when I enable Automatically install dotfiles in the GitHub codespace setting and follow create codespace, my dotfiles are not found, and the install script is not run!

my dotfile repo

When I see the log, codespace says install.sh script not executable!

how can fix this issue?


Solution

  • you must make this file executable with git...

    git rm --cached install.sh
    git add install.sh --chmod=+x
    

    and next, commit and push to the repo!