Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting all history of big files NOT WORK #3

Open
ppKrauss opened this issue Aug 7, 2018 · 1 comment
Open

Deleting all history of big files NOT WORK #3

ppKrauss opened this issue Aug 7, 2018 · 1 comment

Comments

@ppKrauss
Copy link
Contributor

ppKrauss commented Aug 7, 2018

Using bfg-repo-cleaner as official Github suggestion... It works fine after git pull.

java -jar  ~/Downloads/JAR/jar_files/bfg-1.13.0.jar --delete-files wikidata-liechtenstein.osm.zip
Cleaning
--------

Found 16 commits
Cleaning commits:       100% (16/16)
Cleaning commits completed in 190 ms.

Updating 4 Refs
---------------
...
Deleted files
-------------

	Filename                     Git id           
	----------------------------------------------
	wikidata-liechtenstein.osm | 607ae15a (3,2 MB)

In total, 15 object ids were changed. Full details are logged here:

BFG run is complete! When ready, run: 
     git reflog expire --expire=now --all && git gc --prune=now --aggressive

git reflog expire --expire=now --all && git gc --prune=now --aggressive
Enumerating objects: 101, done.
Counting objects: 100% (101/101), done.
Delta compression using up to 4 threads.
Compressing objects: 100% (98/98), done.
Writing objects: 100% (101/101), done.
Total 101 (delta 46), reused 34 (delta 0)


git push
To https://github.com/OSMBrasil/simple-osmWd2csv.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/OSMBrasil/simple-osmWd2csv.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

git pull
git push
ppKrauss added a commit that referenced this issue Aug 7, 2018
@ppKrauss ppKrauss closed this as completed Aug 7, 2018
@ppKrauss ppKrauss changed the title not deleting big files! Deleting all history of big files! Aug 7, 2018
ppKrauss added a commit that referenced this issue Aug 7, 2018
@ppKrauss ppKrauss changed the title Deleting all history of big files! Deleting all history of big files NOT WORK Aug 7, 2018
@ppKrauss
Copy link
Contributor Author

ppKrauss commented Aug 7, 2018

Reopen, not worked. The history is with a big file poluting this repo!

https://github.com/OSMBrasil/simple-osmWd2csv/blob/9e5abe756e5dc922492fd31216ae4aadc728a8c5/data/wikidata-liechtenstein.osm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant