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 want to check this file in either. It is possible to set custom ignore files which only apply to me?
Also, I want to give someone read only access to a private git repository on our server, if I add their SSH key to our server they will get full access like everyone else. How can I limit it to read-only, no commits allowed.
.git/info/exclude
. See gitignore(5)
.git-daemon
, a web server, or Gitosis, or Gitolite.