Skip to content

Git 上传可执行程序权限问题

单个

bash
git update-index --chmod=+x "electron/resources/extra/adb.exe"

批量

bash
find "electron/resources/extra" -type f -exec git update-index --chmod=+x {} +

查看权限

bash
git ls-files --stage
评论
  • 按正序
  • 按倒序
  • 按热度
来发评论吧~

Views 188, Visitors 173
TodayViews 1, TodayVisitors 1