Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If I understand what you're asking at all (it's a bit vague), you're having trouble setting up a shared git repo, where multiple users should have access?</p> <p>I assume this is a linux/unix/bsd server of some sort?</p> <hr> <p>What I've done in our company is that we have all have a user on the server with a bare repository in our home folder (used as private public mirror of our working repo). And we have a separate user called "git" that are member of the group also called "git", with a bare repo to serve as a sort of canonical common repo. All developers are also in the "git" group and the git repo is shared with the group. (Our private repos in our home all the others have only read acces so they can pull but we can git push --mirror to it without problems.) </p> <p>The ssh config is per user and I access the common repo using this remote:</p> <pre><code>[remote "commonRepo"] url = ssh://&lt;myUserName&gt;@testServerName/~git/commonRepo.git fetch = +refs/heads/*:refs/remotes/commonRepo/* </code></pre> <p>The specifics about configuring public keys I don't remember as I do it only every 3 years or so... But we don't have any ssh keys connected to the "git" user we use our own ssh keys for our own user, and rely on the group permissions in Linux to get access to the common repo.</p> <p>Make sure the sicky bits (or what it's callel) is properly set on the server so that when pushing to the common repo the owner is not changed (that causes all sorts of stange errors)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload