I have been provided the login details (username and password to connect through SSH) to a web server.
It contains a web application that I am supposed to submit some regular updates via git.
The server is access via its IP address and I can't connect to it via HTTP requests.
I ran the git init
command inside the root directory (public_html/app) of the web application.
I need to add it as a remote repository but I do not know how: I tried the following:
git remote add APP user@209.32.x.x:public_html/app/app.git
and then
git clone user@209.32.x.x:public_html/app/app.git
But I get
fatal: repository 'APP' does not exist
I am new to git.
first: What do I need to make the app
directory a git repo?
second: how to determine what the link of the repo is? (What to clone?)