Hi. I can't change history for origin
I've did
1) I found files which were deleted but they presented in history
git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | sed -n 's/^blob //p' | sort -nr -k2 | head -n 30
2) I've used this tool like this example
java -jar bfg.jar --delete-files export.sql
3) Than
git reflog expire --expire=now --all && git gc --prune=now --aggressive
4) check existence
git log --all -- export.sql
5) check results
git count-objects -vH
6) and here I tried to apply my changes to origin
git push --force --all
but origin doesn't have my changes. how can I do it in normal way?
And
another question
when I try to apply it for instance my changes on developer server
what should I do?
on developer
git fetch origin
git rebase origin/developer
Hi @Uran110
I executed a gc but this didn't reduce the size by much (only 100mb).
I'll need access to your repo in the backend, so I've opened a ticket on your behalf - please check your email and we will continue our conversation there.
Cheers!
- Ben (Bitbucket Cloud Support)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.