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

  1. Start the git daemon: git daemon --export-all
  2. 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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.