Open atoy3731 opened 6 years ago
This sounds more like a post-BFG problem - did you try asking on StackOverflow? What system is your remote? Did you follow all the instructions for cloning etc.?
Or maybe it wasn't cloned with the --mirror option into a separate directory to do the work?
Just had a very similar issue to this and the fix was to use an older version of git
.
git 2.39.2 - works
git 2.41.0 - broken (results in 'Everything up-to-date' and nothing being pushed)
I've confirmed that bfg-repo-cleaner works on my local repo for removing a large file from the Git history of a project, but when I try to push it back to the remote, it tells me everything is up-to-date so it doesn't actually push the change and remove the large file.
Before running bfg, I executed this one-liner (thanks, Stack Overflow) to find the large file:
This yielded the large file I was trying to get rid of at the top:
Then I executed the bfg/follow-up commands:
Lastly, I execute that same command from above to confirm the file is gone and it is. Mission accomplished I'd think, but when I do a
git push --force --all
, it says everything is up-to-date and there is nothing to push:Any ideas?