Search code examples
gitgit-stash

How to find the physical location of a git repo on Stash server?


Given Stash URL,

http://stash.abc.net/scm/gui/something.git

How do I know the physical location of this repo? I am looking to find a directory to which I can cd to

EDIT: What is not clear please?


Solution

  • Repositories are stored in Stash using a unique ID number instead of their name. To determine the ID of a repository, navigate to the repository in Stash and select Settings, under Repository details, the repository's location on disk will be listed with the ID.

    Once you have the Id the repository is located in STASH_HOME/shared/data/repositories/

    Source Stash documentation: Identifying a Repository on the Stash Server