I am working on a Web App. I am facing an issue with DevOps environment and looking for a solution for the same. My local machine is Win10 machine.
I have my code on a 3rdParty Hosting Server(e.g GoDaddy) using a Wordpress instance. Currently I use Ftp to pull the code locally for the first time athen FTP onto GitLab. Then pull the files I need to work on locally and upload back to Gitlab and Hosting server.
So basically Hosting Server <<-->> Local <<-->> GitLab. All this is a manual process although I get the advantage of DCVS using GitLab and that too on cloud. Also it is because at a later date, I will be able to use other features of GitLab.
Now since GitLab provides SSH - Can I SFTP the code base from my HostingServer to a New GitLab Repository? If YES, then it will be kind if you provide some tutorial/documentation links. And will the reverse i.e pushing back the code into the HostingServer be all possible, since we are on SFTP?
So I am talking of an environment which will be like this:
HostingServer(GoDaddy, etc) <<-->> CloudStack(GitLab,etc) <<-->> Local IDE(Atom,etc)
Kindly let me know.