【问题标题】:how can dotfile executeable issue on codespace?如何在代码空间上执行点文件问题?
【发布时间】:2022-07-14 04:26:03
【问题描述】:

美好的一天!

当我在 GitHub 代码空间设置中启用 Automatically install dotfiles 并按照创建代码空间进行操作时,找不到我的点文件,并且安装脚本没有运行!

my dotfile repo

当我看到日志时,代码空间说 install.sh 脚本不可执行!

如何解决这个问题?

【问题讨论】:

    标签: github dotfiles codespaces github-codespaces


    【解决方案1】:

    你必须用 git 使这个文件可执行...

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

    接下来,提交并推送到 repo!

    【讨论】:

      猜你喜欢
      • 2017-09-11
      • 2019-03-19
      • 1970-01-01
      • 2014-08-09
      • 2015-06-26
      • 1970-01-01
      • 2016-12-24
      • 1970-01-01
      相关资源
      最近更新 更多