Stash: Remove a project and/or repository

I'm new to both Git and Stash. After some experiments with a test project containing two test repositories, I would like to know how to remove an individual repository and/or the entire project from Stash.

I might be overlooking something very simple and obvious, but even when logged in as an administrator, I just cannot find any button for deleting a repository or project.

How can I accomplish this? Or is this something that is just not possible?!?

I'll go get another cup of coffee just to be sure.... ;-O

Many thanks in advance!

Ethan

6 answers

1 accepted

This widget could not be displayed.

Ok, ok I finally found it..

Under <project name> - settings and under <repository name> - settings, there's a delete button to the very right of the screen.

I blame a widescreen monitor which was way to widescreen for the amount of sleep I've had. ;)

Really love the product so far BTW :)

Thanks for the feedback and glad to hear you are liking Stash so far.

Thank you for sharing the information. There is nothing in the documentation (2.3) that tells where it is or where on the screen it is.

This widget could not be displayed.

I can't see that DELETE button anywhere on the right side. I even tried resizing my screen and zooming out.

Jeff Thomas Atlassian Team Oct 09, 2013

Gabrielle: Just to confirm, you're in the settings menu and an administrator for that project/repository?

This widget could not be displayed.

I'm having the same issue. I would like to delete a repository, I am the project creator and admin but I don't see any way to delete a repository in the repo settings.

Jeff Thomas Atlassian Team Nov 07, 2013

Al: Do you see a Delete Repository button under the Settings page of the repository you want to delete?

This widget could not be displayed.

I have an answer for mine (and maybe Al et al). There's a Stash Plugin(Add-on) enabled that hides the delete operation.

This widget could not be displayed.

@Jeff: The delete button you highlight is a "Move" button in my settings. It only allows me to move repos to projects in which I am an administrator (too bad there isn't a garbage can to move them to). Gabrielle's explanation is most likely the problem, so I will have to contact the sys admin to allow deletes I guess. Thanks to both for your help!

In the mean time I will work around this problem by creating a garbage can project to move dead code to. In all honesty this might be the best way to do it anyhow so we can at least have an archive. I am migrating repos from another host so I am going through some dry runs and making sure the Jenkins jobs still work with the new configuration. This creates some slop that I wanted to get rid of so it's nice and clean when people start using it.

This widget could not be displayed.

While using stash 3.1.3 had to grant user access to Project Creator Role and able to see settings menu.. Granting user just access to group that had Project Creator role alone did not make settings menu available..

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,345 views 8 11
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