----- Original Message ----- 
  From: Michał Urban 
  To: Git for human beings 
  Sent: Tuesday, June 28, 2016 1:38 PM
  Subject: [git-users] Permissions problem.


  I've got remote repository on my network share.

  I need to add permission to write for my workmate, so he can execute git 
pull, but... now he can delete whole my .git folder (from Explorer/cmd, etc.). 
I would like to limit his privileges to I guess... pushing. How to achieve that?

I presume these are Windows sharing permissions.
What you are looking for is read-only, so that the pull can do the fetch from 
you, and then does the merge locally in his PC/share.

Make sure you understand the difference between a (remote) tracking branch, and 
the "remote" itself. It is easy to confuse which parts are truly local (on your 
PC), apparrently local (mapped shares with r/w access), and properly remote 
(either served, or mapped drive with r/o)


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to