Skip to content

Deleting all history of big files NOT WORK #3

@ppKrauss

Description

@ppKrauss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions