How to serve your Bitbucket Server repo without using Bitbucket Server
Purpose
Provide access to your Bitbucket Server repo over git
protocol for testing purposes, e.g. to test clone speed.
Solution
Windows
- Start the git daemon:
git daemon --export-all
- Clone your repo by using the git protocol and reference the path to the bare repo folder on disk. For example, if your repo is located here:
C:\atlassian\Bitbucket Server\3.10.2\data\shared\data\repositories\3
Clone your repo using this command:git clone git://<hostname>/atlassian/Bitbucket Server/3.10.2/data/shared/data/repositories/3
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.