how can dotfile executeable issue on codespace?

296 Views Asked by At

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?

1

There are 1 best solutions below

0
njfamirm On BEST ANSWER

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!