素心科技
主页
归档
标签
分类
English
Git提交文件权限 - Fri, Apr 21, 2023
修改 git 配置,使其支持文件权限提交
git config core.filemode true
使用 git 修改文件权限
git update-index --chmod
=
+x xxx.sh
然后就可以发现文件变动了,就可以提交了。