I'm actually trying to push my work on my personal git server.
I just made a git init test
, added and commited a test file, and added a remote pointing to server with git remote add
.
I didn't create a git repository on my server, so my ssh://git@XXX.XXX.XXX.XXX:XXXX/opt/git/test.git
remote does not already exist.
I have the does not appear to be a git repository
error.
The user "git" is the owner of the /opt/git directory.
Isn't that possible to create the non-existing repository by pushing to it for the first time? I could do it with ssh but this isn't very pratical... Isn't there an other way? I found no option for that.
I thank you for your help and I apologize for my possible spelling mistakes (I'm french).