Connect android studio with a git repository on an ubuntu server

0

I am taking a course in which they put us to carry out an app with android studio. They ask us to create a git repository on an ubuntu server (which I have virtualized) and that the code I develop in android studio is saved in that repository (the android studio I have installed on the physical machine, not the virtual one). The question is, how can you connect the AS with a git repository that is on that virtualized ubuntu server?

    
asked by julio segura 02.09.2018 в 02:41
source

1 answer

-1

Following the logic, I think that most likely you have to connect by ssh to the server and copy your ssh-key, to then be able to make a clone of the repo in your physical machine that is where you have android studio. I leave you a couple of links so you have a better idea of how to do it.  Copy key-ssh link

In case you occupy something about cloning the repo, here they explain very well how to do it. link

PS: Copy the ssh key to the server is to avoid entering the password of your user when the server asks for it, by the way remember to create a user for your machine on the server and connect with that user since by default linux takes the name of your team to connect.

    
answered by 03.09.2018 в 16:58