On 14 August 2016 at 19:34, Sharan Basappa <[email protected]> wrote:
> I would like to know if it is possible to provide push and pull > permissions per user in Git. > For example, user A can pull but cannot push to remote. Similarly, user B > cannot pull but can only push to remote. > > Thanks, > > It is possible by using a git-update hook on the remote. Read this: https://git-scm.com/docs/githooks But you can also just set up the filesystem permissions on the remote for the same effect. Regards Martin -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
