How to serve your Stash repo without using Stash
Purpose
Provide access to your Stash 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\Stash\3.10.2\data\shared\data\repositories\3
Clone your repo using this command:git clone git://<hostname>/atlassian/Stash/3.10.2/data/shared/data/repositories/3
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.