I am trying to install git on a server and have some problem when I try to perform the first push. I successfully installed git on the server, created the repository locally and on the server but when I try to make the first push I get this message:
stdin: is not a tty
fatal: '/my_repo.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I googled it and followed everything I could find but nothing worked. What could be wrong?
/my_repo.git? Or is it in your home directory or something?my_repo.gitand/my_repo.gitand nothing workspwd. The output is the full path of the repository, make sure you use that.ssh? Have you verified thatsshfunctionality is working outside ofgit? How did you connect your local repository to the remote repository -- did you usegit clone? What command did you type exactly? Did you usegit remote add? Again, what was the exact command? Can you show us your fullgit pushcommand line (that is, are you typing anything other than simplygit push)?pwdcommand I did not know how to get the full path