Answer the question
In order to leave comments, you need to log in
GIT : using a remote repository
There is a server on which I created the project, added it to the repository, etc.
I have another computer, I want to upload this project to it, edit it and commit it back to the server, as I did with SVN. I can’t google how I can perform this step with a checkout from a remote repository ...
And in general, can someone explain in a nutshell what is the fundamental difference between Git and SVN?
Thank you.
Answer the question
In order to leave comments, you need to log in
1) git clone will merge the code from the server
2) You will update it
3) git push will upload your data to the server.
If you have SSH access to the machine from which you are going to clone the repository, then you can work via ssh:
$ git clone [email protected]:/absolute/path/to/repo
By the way, a catch-up question, so as not to produce similar topics - if I don’t have git on a remote server and it’s impossible to put it there (normal virtual hosting), but I have access via ssh, can I create a git repository there? My attempts resulted in an error in finding the git-upload (receive) file on the remote server. Path does not change there either. Mounting remote folders can and will save, but it's not interesting.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question