I have the following remote directory:
/home/darren77
I use git init --bare
to set up the directory as a repo
which adds .git
directory
Then on local pc I have directory that is my workspace
c:/testAccount/
I then try to clone the remote repo to set up to push:
$ git clone ssh://darren77@tinbad.com/home/darren77.git
But I get the following:
stdin: is not a tty
fatal: '/home/darren77.git' does not appear to be a git repository
fatal: Could not read from the remote repository
Please make sure you have the correct access rights and the repository exists.
What am I doing wrong? There's so much talk about this but no one place that actually details it in absolute basic format for users new to git, not that I can find anyway.