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

xx.xxx.xxx.xxx:7990/scm/av/game.git

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

c:/GameServer/Rust/rust

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. 

Reference:

https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

428 views 6 9
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