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

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!
April 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.

2 answers

0 votes
Gbenga Olusoto May 15, 2024

Hello @Atlassian Team 

 

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

 

repo:

 https://bitbucket.org/l**********s/gles_********* _cluster_1

https://bitbucket.org/l*****s/gmes_a********_s*****_cluster

 

https://bitbucket.org/l******s/o*****b

 

https://bitbucket.org/lotuscars/gmes_a*****_s****r_cluster_1

 

In case you can't find repo with my account then kindly search in Jonathan Clarke account. She is also one of the admin

if you need more information let me know

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2024

Hello @Gbenga Olusoto ,

The GC was completed successfully on the repositories you shared.

If you need any help in the future, we advise posting a new question instead of responding to someone else's question, as we may miss the notification of this post :)

Thank you, @Gbenga Olusoto !

Patrik S

Like Gbenga Olusoto likes this
Gbenga Olusoto May 15, 2024

Thanks

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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!
April 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!

jemban
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 19, 2023

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.
April 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

Gbenga Olusoto May 15, 2024

Hello @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:

 https://bitbucket.org/l**********s/gles_********* _cluster_1

https://bitbucket.org/l*****s/gmes_a********_s*****_cluster

 

https://bitbucket.org/l******s/o*****b

 

https://bitbucket.org/lotuscars/gmes_a*****_s****r_cluster_1

 

In case you can't find repo with my account then kindly search in Jonathan Clarke account. She is also one of the admin

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events