Note that there are some explanatory texts on larger screens.

plurals
  1. POCygwin/Git/Gitosis unable to push new repository
    primarykey
    data
    text
    <p>I've recently set up cygwin, git, and gitosis on my Windows Server 2003 box and am having troubles. I've followed just about every tutorial I can find to the letter, and have confirmed that my git account's authorized_keys table is getting updated when I push the gitosis-admin repository. I seem to be stuck, however, when it comes to creating a new repository.</p> <p>I've seen many tutorials that recommend the following code (obviously the repo name changes), tried in both git bash and windows command line:</p> <pre><code>mkdir free_monkey cd free_monkey git init touch README git add . git commit -m "Added blank readme" git remote add origin git@my_server:free_monkey.git git push origin master </code></pre> <p>When I execute the last line (no matter exactly what I send), it says "The remote end hung up unexpectedly": $ git push -v origin master:refs/heads/master Pushing to git@my_server:free_monkey.git fatal: The remote end hung up unexpectedly</p> <p>My gitosis.conf file looks like the following:</p> <pre><code>[gitosis] loglevel = DEBUG [group gitosis-admin] writable = gitosis-admin free_monkey.git free_monkey members = git@my_server @all </code></pre> <p>Please let me know if I'm missing any information you need to help me debug this. Thank you!</p> <p>One other thing that concerns me: </p> <pre><code>$ ssh git@my_server git DEBUG:gitosis.serve.main:Got command 'git' ERROR:gitosis.serve.main:Unknown command denied </code></pre> <p>Is that maybe the problem? If so, how do I fix that? </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.
    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