Forum: 

Git not accepting pushes after setup

Nick's picture

I have created and initialized the git repo on the server, and have added the remote with SSH.  Seem to have followed all the correct steps setting up a new repo, too.  I see it in the git web admin right next to helloworld.  Below is the addition of the remote server, followed by my failed attempt to push.  

 

git remote add origin ssh://root@xxx.xx.xx.xx/git/projectName

git push origin master

 

fatal: "/git/project" does not appear to be a git repository

fatal: The remote end hung up unexpectedly

 

 

I can interact with the helloworld project just fine, but I did notice it seems to have permissions set up that my manually set up project does not.  Does this mean my repo is not completely set up?

 

Post new comment