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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,753 views 1 5
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