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
Comments
  • Latest
  • Oldest
  • Hottest
No comment yet.
Powered by Waline v3.5.6

Views 2060 , Visitors 1306
Released under the MIT License.