TurnKey Linux Virtual Appliance Library

Git not accepting pushes after setup

jellatin'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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)