Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,446
Community Members
 
Community Events
184
Community Groups

Git Push is taking so much time after rewriting it's history using BFG Repo Cleaner

ts-amit_g_kumar
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!
Apr 17, 2023

I am reaching out to you for assistance with an issue I am facing while trying to push my code to a remote repository after using the BFG Repo Cleaner tool.

In the past, I accidentally pushed some confidential keys to my git repository. Although I have since removed these keys from the files, they are still visible in the git history. To mask these keys and protect sensitive information, I decided to use BFG Repo Cleaner to rewrite the repository's history.

BFG Repo Cleaner was able to rewrite the history in just a few seconds, which is great. However, I am now encountering a problem when I try to push the updated code to the remote repository. The process seems to hang indefinitely, and I have been unable to resolve this issue.

I have already attempted several solutions, such as increasing the buffer size and performing garbage collection, but to no avail. It is worth noting that my repository is just 64 MB in size after cloning it using the --mirror flag.

I would greatly appreciate any guidance or assistance you can provide in resolving this issue.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 18, 2023

Hello @ts-amit_g_kumar ,

Welcome to Atlassian Community!

I was not able to find any Bitbucket account associated with the email address that you used to post this question. In this case, could you please log in on Community with the same email that has access to the affected repository, and respond to this question sharing with us the masked workspace and repository name? You can share just the first and last letter of the workspace and repository, e.g my_workspace/my_repo would be m**********e/m*****o

This way I can trigger a Garbage Collection on Bitbucket side so it will remove dangling objects and might improve the performance.

Thank you, @ts-amit_g_kumar !

Patrik S

ts-amit_g_kumar
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!
Apr 19, 2023

Hey @Patrik S ,

Can you please do GC to my repository. I am one of the admin of the repository. Kindly find the details below:

repo: RISG/repos/panel-**************-front-end

In case you can't find repo with my account then kindly search in @jemban account. She is also one of the admin. I would appreciate if you could do it before 8 AM(jst). Looking forward for your favour.

Thanks!

Hello @Patrik S 

As Amit mentioned above, you can also use my account. Please let us know if there are any problems. Thank you!

Jem

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 20, 2023

Hello @ts-amit_g_kumar and @jemban ,

Thank you for sharing additional details.

Checking our internal tools I've noticed that you actually have a Bitbucket Data Center license, not Cloud. In this case, I've opened an internal ticket for you with our Data Center support team.

You should receive an email with the ticket number, but in case you don't, please let me know so I can share the ticket number with you.

Thank you!
Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events