Use a git running on a remote server

Hi!

We have a mixed environment: our servers running linux with webserver in the backend and the comuters running our IDE as developers frontend.
We are currently using a windows share on the linux system to work with the sources from the windows system. That - so far - works great.

The problem is, that git runs horrobly slow when executed on windows and scanning files over the share.

It would be so great when we could just set up an ssh-connection to the server and execute the git commands directly on the target mashine.

Is that maybe already possible, and if not, wouldnt it be quite easy to implement?

Regards,

Christian

2 answers

This widget could not be displayed.

It sounds like your source code is stored in a single location, and all developers modify it on that same location.

That is very risky. What happens if multiple developers are editing different parts of the same file at the same time? When the second one saves, it will overwrite the changes from the first.

Git is designed to solve this problem by hosting copies of the repository on each developer's machine. developers can make and commit changes locally, then merge in simultaneous changes made by other developers before pushing to the linux server.

No it's not like that.

Normally every developer gets an own server. Ther is no (high) risk of two people working on the same file.

Never the less it's not more or less risky than working with a file share is anyway.

Think of it as if the server is the linux part of the same single-user development system :)

This widget could not be displayed.

No it's not like that.

Normally every developer gets an own server. Normally ther is no risk of two people working on the same file.

Never the less it's not more or less risky than working with a file share is anyway.

Think of it as if the server is the linux part of the same single-user development system :)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

718 views 1 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you