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.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.