Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to make specific bitbucket commits inaccessible to non-admins?

Thoko Malizani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2018

My company has been using bitbucket for a few months now and I'm loving it, but there are older commits that I would prefer to hide. The concern is that as a smaller company today I can trust a handful of staff, but in the future trade secrets need to be better protected than I was doing at the time and I'm looking for something to act as a virtual undo button. Any ideas? I was hoping that maybe the "archive" feature might achieve this result, but I am unsure of who has access to archived commits.

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
April 7, 2018

Git commit SHAs are derived from their parents' SHAs (the previous commit or the two merged sources for merge commits), therefore it is not easy.

Although it is possible to delete previous commits using rebase, if you already published those commits (pushed to your peers, made the repo cloneable), it will not help...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events