Skip to main content

All Questions

0 votes
0 answers
1k views

module 'git' has no attribute 'Repo' - when running as non-root user.. works as root user

As above, I wrote a gitlab pre-receive hook that runs as a 'git' user on our gitlab server. When testing it, I get the above error. However when I SSH into the server and manually run the script as ...
Shox2711's user avatar
  • 139