Why does Stash Url include a "scm" entry

I've set up at Stash (1.03 beta 2) behind a Apache proxy and it works as expected. However I wonder about the URLs sugqested. In the Stash web UI under project, repository, files, the computed URL under

"Working with your repository" is:

git clone https://userid@<HOST NAME>/<CONTEXT>/scm/<PROJECT>/<REPO>.git

where does the scm comes from ?

The computed URL under project, repository, settings, "Repository settings, Name" is:

https://userid@<HOST NAME>/<CONTEXT>/git/<PROJECT>/<REPO>.git

which I prefer.

Both URLs are valid, but can I modify the URLs suggested to replace "scm" with e.g. "git"in the URL?

1 answer

1 accepted

This widget could not be displayed.
Jason Hinch Atlassian Team Sep 16, 2012

The /scm/ part of the URL comes from the acronym for Software Configuration Management (http://en.wikipedia.org/wiki/Software_configuration_management) which is another term used for a versional control system. Stash uses /scm/ in the url instead of hard coding the specific SCM (in this case git) to allow for the possibility in the future to add support for additional SCMs.

This part of the URL cannot be changed as there are many parts of the Stash codebase which rely on this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,191 views 8 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you