1

I have a git repo on an Ubuntu server. I would like users on MacOS workstations to be able to add this repo as a remote, and push files to it. How can I configure the git repo on the Ubuntu box to allow this?

Sorry if this is an elementary question, or doesn't make sense. I'm still finding my footing with git, and I'm not even sure what to Google to find the answer to this.

4
  • 4
    Google: ssh, git init --bare May 15, 2015 at 22:51
  • Consider using gitolite3. This gives much more fine grained access control and should be available from your standard package sources. May 15, 2015 at 22:52
  • Thanks, Sam. That led me to this link: gitguys.com/topics/… ...which explains what a bare repository is, and why I should use one when setting up a shared repo. This gets me going in the right direction. Thanks! May 15, 2015 at 23:16
  • This is a good question. If you've found a solution, could you please answer it yourself? May 17, 2015 at 15:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.