Using git on remote server

Daniel Salamon July 27, 2014

Hi,

Our company uses a local server, what every developer uses every day. We SSH to it and write the code there.

I would like to ask, if is it possible to use SourceTree to connect to this development server through SSH to apply git commands there?

Thanks,

Daniel S. (Mito Europe Ltd.)

4 answers

1 accepted

0 votes
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2014

It does really matter. SourceTree only runs local Git commands. Your devs could attempt to use SourceTree (or any other local Git client) by mounting their home directory on their local machine. However, many people have had significant problems with this type of setup, because Git is designed to work with truly local data.

Some questions I've participated in regarding this type of setup:

https://answers.atlassian.com/questions/252195/use-a-git-running-on-a-remote-server

https://answers.atlassian.com/questions/275021/fatal-unable-to-write-new-index-file

https://answers.atlassian.com/questions/278410/pulling-from-remote-github-to-server

0 votes
Daniel Salamon August 10, 2014

"SourceTree only runs local Git commands." :(
Thanks Seth!

0 votes
Daniel Salamon July 27, 2014

No, every developer has it's own account, and under the own home directory the own working copy. And we can use this server from outside. But this dowsn't really matter.

Is there a way to use this remote server from my local PC's SourceTree?

We tried ungit as an alternative, but it's not so reliable so we need a solution that could connect to this remote development server and use git there. Currently we can only use git commands from the terminal.

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2014

So you are all working on and editing a single copy of the code? What happens if two people work on the same file at the same time? What do you do if a developer needs to work outside the office, or if part of your networking equipment fails?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events