Note that there are some explanatory texts on larger screens.

plurals
  1. POGit: Cloning gitosis admin repo locally
    primarykey
    data
    text
    <p>I set up a git repo with gitosis on my ubuntu 10.04 server using the following guide: <a href="http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way" rel="nofollow">http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way</a></p> <p>It works fine and dandy, I can clone the configuration to my ubuntu 10.10 desktop computer, and commit changes there. </p> <p>Thats Ok, but I do most of my actual coding on the server. So I will need to clone the configuration/gitosis-admin.git repo and the other repos locally. </p> <p>git clone --local file:///home/git/repositories/gitosis-admin.git gives me: fatal: '/home/git/repositories/gitosis-admin.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly</p> <p>I added my server user to group git and got: fatal: failed to open '/home/git/repositories/gitosis-admin.git/objects': Permission denied</p> <p>I then tried to make a public key on the server, and adding it to the keys admin repo, added the username, both as (user) and (user)@(hostname) in the configuration, to: git clone git@localhost:gitosis-admin.git or git clone git@(hostname):gitosis-admin.git both of which asks me for git@(hostname) password</p> <p>When I go back to my desktop, and check out the gitosis-admin repo, the gitosis.conf lists: [gitosis]<br> [group gitosis-admin]<br> writable gitosis-admin<br> members = (desktopUN)@(desktopHostname) (serverUN)@(serverHostname) </p> <p>but on the server, if I root into /home/git/repositories/gitosis-admin.git/ and cat gitosis.conf, it lists [gitosis]<br> [group gitosis-admin]<br> writable gitosis-admin<br> members = (desktopUN)@(desktopHostname) </p> <p>I can't get my head around this, how do I set this up to get it working the way I want to. The chances are great that there is some noob coughup on my part behind all this, but I've spent 5 hours trying to get this to work now, and it takes me 2 min to set up a svn repo. So I'm getting impatient ..</p> <p>Thanks</p>
    singulars
    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.
 

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