Quantcast
Browsing latest articles
Browse All 11 View Live

Answer by Luis de Arquer for How do I share a Git repository with multiple...

Doing exactly this worked for me, for an existing repository. This takes advice from several answers and comments before: From your repository parent directory, at the server: chgrp -R <whatever...

View Article


Answer by ragerdl for How do I share a Git repository with multiple users on...

@stevek_mcc answer is the one I was looking for when I googled for this question git clone --config core.sharedRepository=true

View Article


Answer by Justin Ludwig for How do I share a Git repository with multiple...

To aggregate the bits and pieces of good advice from the various other answers and comments about setting up a new repo: If you're setting up a brand new repo myrepo in /srv/git for the group mygroup,...

View Article

Answer by bkmks for How do I share a Git repository with multiple users on a...

One way to fix permissions in the shared repository, so users won't have permission problems when pushing, is to create a post-update hook script which will do just that. This should work in any git...

View Article

Answer by Niels Joubert for How do I share a Git repository with multiple...

This has not been said, so I want to quickly add it. To ensure that permissions issues do not crop their ugly head, make sure to set the following on your git shared repository's config file: [core]...

View Article


Answer by mt3 for How do I share a Git repository with multiple users on a...

Also look at gitolite for hosting your git repository. Gitosis apparently isn't being developed anymore.

View Article

Answer by user35117 for How do I share a Git repository with multiple users...

if you created the repository (or cloned a new bare repo off an existing one) with $ git init --shared=group or $ git init --shared=0NNN Git is supposed to handle permissions above and beyond what your...

View Article

Answer by jtimberman for How do I share a Git repository with multiple users...

The Git User Manual describes how to share a repository in several ways. Exporting via the Git Daemon. Exporting via HTTP. CVS/SVN style, a single shared repository where developers push/pull. More...

View Article


Answer by womble for How do I share a Git repository with multiple users on a...

Permissions are a pest. Basically, you need to make sure that all of those developers can write to everything in the git repo. Skip down to The New-Wave Solution for the superior method of granting a...

View Article


Answer by Vihang D for How do I share a Git repository with multiple users on...

You can use git-daemon to share the repository. Read the documentation for git-daemon for more information. EDIT: Also check this article 8 ways to share your git repository.

View Article

How do I share a Git repository with multiple users on a machine?

I have a Git repository on a staging server which multiple developers need to be able to pull to. git-init seems to have a flag very close to what I'm looking for: --shared, except I'd like multiple...

View Article
Browsing latest articles
Browse All 11 View Live