Is it possible to have a custom .gitignore? Read only access?

前端 未结 5 1517
生来不讨喜
生来不讨喜 2020-12-12 23:35

I am working in a team environment, and there is already a .gitignore file.

I want to add more items to the .gitignore file, but I don\'t w

5条回答
  •  感情败类
    2020-12-13 00:12

    1. Put your private ignore rules in .git/info/exclude. See gitignore(5).
    2. For read-only access, use git-daemon, a web server, or Gitosis, or Gitolite.

提交回复
热议问题