Hi, On Fri, 25 Jan 2008, Karthik K wrote:
> I am trying to create a simple git repository with a single file and > trying to push it to repo.or.cz. I created ssh-public and private keys > as told in IRC channel but I am not able to push my contents to the > remote url. First, make sure that you set up the remote repository correctly. Then make sure that you uploaded the public key correctly, and that you connect with the correct username. Do this by connecting via ssh directly to repo.or.cz (if it succeeds, it will complain that it is not a shell, but you will know that it works). Then make sure that you have the correct remote url when pushing; git:// is _not_ correct, and neither is http://. You should use ssh://. Also, try "git ls-remote" with that url first. If that complains, you probably forgot the /srv/git, or have an extra colon in your url. If it still fails, it might be helpful to give us enough information to work with (i.e. exact command lines, exact outputs, exact error messages...) Ciao, Dscho