Reputation: 109
I have a git repository installed in a remote Linux server, but would like to work on it and sync my changes to the git repository using Visual Studio Community Edition 2017.
Apologies if this is a repeat question; am new to this and have looked at the existing answers on SO but don't seem to have found a direct answer for this.
I have managed to use Team Explorer to connect directly to github, but would prefer to connect to the git repository on the Linux server instead.
Thank you.
Upvotes: 1
Views: 1119
Reputation: 10877
Let's say you have a user on the linux machine, with a projects
subfolder in your home directory, and under that you have a git project in a folder called myproject
.
You should be able to run git clone username@server:projects/myproject
at any remote terminal (including windows with git installed), assuming you have an ssh server enabled on the linux server
above (you may have to install openssh-server first).
Upvotes: 1