BitBucket Remote Directory

Hey Atlassian,

So I set up my Bitbucket Server and push/pull works fine like a charm.

The thing is I want to change the remote directory to be a folder within my gameserver folder

Info : I am using SourceTree as Git Client

Currently the remote origin is

and when I push all changes are made within the Bitbucket server I can access via Web Interface to see the files.


What I want to do is that I want to push it into


instead of always pushing my changes to the place which can be viewed through the web interface.


How could I achieve this ?

1 answer

You will have to setup your own git repository service in that directory. 


So as far I use the git init commands etc. in the directory I want it should push and pull out of that directory ?

Fairly. Bitbucket Server is just another tool (like github, gitweb, gitlab) that provides a friendly interface for git operations like this and visualizations to stuff like merges, behind the scenes it's git doing all the work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

265 views 0 12
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