Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using sourcetree with non-local repository

Jeroen Sentel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 26, 2019

Hi,

We have a small development project that we work on with 5 guys. All relatively new to working with git. The repository is hosted in Bitbucket and we all have our own development environment on the server. So we do not run our code on our local machines, but on our personal development environment on the server.

Our workflow is that we SSH to the personal environment on the server and check out our personal branch, we work on some code, we commit and push using git on the server. Once satisfied we create a pull request to merge the personal branch with the main development branch. That branch is then automatically deployed to the staging environment where we can perform tests before we merge to production branch and deploy to production environment.

So far so good (feedback always welcome). 

Now we came across Sourcetree and it looks great and usefull. Only I see that it clones a repository to the local machine.

Question: Is there a way that sourcetree uses SSH to our server to perform all the git commands?

By the way... changing our workflow to pull code to local machine is a different discussion. Imho the major downside to that is that code is not tested in a proper testenvironment before it is pushed. Resulting in errors on staging environment. Although different discussion, feedback always welcome.

1 answer

0 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2019

Hi @Jeroen Sentel,

There is no way to work with remote only repositories, a local clone is required.

Cheers,

Brian Ganninger
Principal Developer, Sourcetree

Ian Bryant
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2024

Are there plans to add this feature?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events