SourceTree and remote branch and trunk

时间:2018-03-25 20:51:27

标签: git git-svn atlassian-sourcetree

Situation: I have a clone of a git repo on a remote machine. Is it possible to somehow import this remote clone to SourceTree on my local machine? The code would never be on my local machine, I would only like to manage changes on my remote clone (pull/commit/push/check changes etc.).

Possible or not?

Tnx in advance!

Edit 2018-03-26: Maybe I was not clear enough - it is a web project and we are developing on server directly. Access to the code on the server is strictly via SSH. Code commiting is possible only with GIT, installed on the server and accessed via SSH.

I would like to use SourceTree or something similar installed locally to work with GIT installed on the server (not on my local machine) via SSH. I am not talking about GIT repository via SSH but about GIT instance via SSH.

Company's security policy restricts copying code locally - cloning code to my machine is not an option.

Tnx in advance!

1 个答案:

答案 0 :(得分:0)

没试过,但您可以尝试挂载您的远程目录作为驱动器,然后尝试在 Sourcetree

中导入远程git存储库