Comments (6)
I am also facing the same issue with gitlab. I disabled the branch protection as well but still the same error.
any help would be greatly appreciated, thanks
from bfg-repo-cleaner.
you can try to remove your local repo and clone it again, and the size did change to smaller. so the push should have some effect.
from bfg-repo-cleaner.
same issue for me, I'm also a gitlab user.
despite the error, It seem the cleaned item have been pushed to the remote, but I'm still suspsicious about the error message.
from bfg-repo-cleaner.
Same issue here as gitlab user. I disabled the branch protection as well but still the same error.
╰─λ bfg --delete-files "MAosA.zip project.git
Using repo : /home/cocoonkid/Documents/tmp/project.git
Found 2050 objects to protect
Found 6 commit-pointing refs : HEAD, refs/heads/dev, refs/heads/development, ...
Protected commits
-----------------
These are your protected commits, and so their contents will NOT be altered:
* commit f89d2720 (protected by 'HEAD')
Cleaning
--------
Found 208 commits
Cleaning commits: 100% (208/208)
Cleaning commits completed in 92 ms.
BFG aborting: No refs to update - no dirty commits found??
The file is also still visible in the repo in the specific commit. But bfg does not even find it.
I followed the instructions to the dot.
from bfg-repo-cleaner.
Same issue here when trying a dry run on a sandbox repo, please maintainer can you help on what should we do when we encounter this error ?
From my understanding this is because GitHub/GitLab still has references to the old commits in any pull requests. Even though BFG has rewritten the commits, GitHub still has read-only refs for the old commits in pull requests.
To resolve this, I found a couple options:
- Contact GitHub support and ask them to delete the pull requests for our repo. This will permanently remove the refs to the old commits.
- Live with the error messages. The push was actually successful in rewriting our repository history, but GitHub still has the old refs for pull requests. This will increase the size of our repository on GitHub slightly.
- Create a new temporary repository, push your cleaned history there, then rename the repositories. Then ask users to clone the new repository.
from bfg-repo-cleaner.
Please contributors have a look at the OP of this one. This is an interessing problem worth to explain / mention in the doc and BFG's website (imho).
Also this repo needs a bit of triage in the issue, a spammer spawned few days ago..
from bfg-repo-cleaner.
Related Issues (20)
- Password protected: https://repository.sonatype.org/
- Disable pruning of what has been processed before
- Verifying commits HOT 3
- Cleanup only takes place after second run HOT 1
- How fix "Cleaning commits: 92% (1199/1303)java.lang.reflect.InvocationTargetException"? HOT 1
- Just thanks for helping god for you
- Including link: https://github.com/jarhot1992/Remote-ADB/issues
- Including link: https://rtyley.github.io/
- Including link: https://rtyley.github.io/
- Including link: https://rtyley.github.io/
- Including link: https://rtyley.github.io/
- Including link: https://rtyley.github.io/
- fft2d.tgz (53KB) updated: 2006/12/28
- How to build the tool? HOT 1
- Can I tag a commit as "protected"?
- Delete files with no extension
- Can not push - remote: GitLab: You cannot create a branch with an invalid name
- Unable to replace text in a large file HOT 3
- example banned.txt HOT 1
- As long as the project has any PRs or TAGs that exist on github, no action will work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfg-repo-cleaner.