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

BitBucket Remote Directory

Alex Merc December 23, 2015

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

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2015

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

Alex Merc January 12, 2016

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

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2016

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
TAGS
AUG Leaders

Atlassian Community Events