Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 660 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 660 Bytes

git-lfs-rewrite

Tool to rewrite history of an existing repository to use Git-LFS

Currently only supports a repository that exists of purely loose files, since the pack file parser isn't finished yet. But basically it goes through the entire history and finds files of a particular extension, and moves those files into the Git-LFS format. After this you should be able to push the repository to GitHub..

to unpack a repository into loose files: in a msysgit bash shell:
$ mkdir looseRepo
$ cd looseRepo
$ git init --bare
$ for P in $(find <path_to_packed_repo> -name '*.pack'); do git unpack-objects < "$P"; done