Junio C Hamano <gits...@pobox.com> writes:

> Has something changed recently at repo.or.cz, accepting pushes over
> ssh, in the past few days?  I am getting this:
>
>     $ git push -n -v repo.or.cz:srv/git/alt-git.git/
>     403 forbidden
>     fatal: Could not read from remote repository.
>
>     Please make sure you have the correct access rights
>     and the repository exists.

Nevermind, I figured it out.

        $ git push repo.or.cz:/srv/git/alt-git.git

seems to be the new way to spell the scp style push.

Two points to note, just in case it would help other users, are

 (1) The repository hierarchy is no longer under your initial
     directory and you have to explicitly ask for /srv/$path; and

 (2) You used to be able to, but no longer are allowed, to have a
     trailing slash in your repository URL.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to