4

git 问题:已有仓库,在 umask=022 的基础上, git 如何配置可以使 git pull 新创建的...

 3 years ago
source link: https://www.v2ex.com/t/800776
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  git

git 问题:已有仓库,在 umask=022 的基础上, git 如何配置可以使 git pull 新创建的文件的组有写权限

  xiaozhuge · 20 小时 34 分钟前 · 222 次点击

参考了文档 https://stackoverflow.com/questions/3242282/how-to-configure-an-existing-git-repo-to-be-shared-by-a-unix-group, 使用 git config core.sharedRepository group,但是 git pull 更新的文件的组权限依然没有写权限


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK