Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将我的 Photoshop 文档 (PSD) 添加到存储库中。但是,我想成为唯一可以编辑/推送文件并且所有其他人都可以阅读的人。原因是开发人员对 Photoshop 有足够的了解,可以使用文档来获取值(字体大小、颜色等),但我不希望他们意外地编辑文件并提交它。
或者也许还有另一种方法?
Place the PSD files in a different repo where they only have pull access.
You can not set access rights within the repo using git.