I've got a private git repo I want to make public in the future. Unfortunately, I had hardcoded a password for testing which I now need to get rid of.
So I performed a local git filter-branch search-replace and force-pushed it to bitbucket. Now, the original commits (with the password) are still visible.
Any way to change this? Any way to move the tags or even comments from the old commits to the new ones?
Any help appreciated!
No, I don't get that? If you use filter-branch to remove things that way and then force-push all the new refs (replacing all the old refs), none of the old commits should be visible as they're not on any ref anymore.
Where do you see the old commits? Or is it when you explicitly go to the old changeset URL that you still see that commit? In that case that is to be expected, as git doesn't immediately remove commits (it wait up to a month before it actually deletes old commits from disk).
If this is not helpful, feel free to contact support by emailing firstname.lastname@example.org. Be sure to include URLs to the places where you see references to your old commits and we'll have a look.
The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event