Skip to content

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

Notifications You must be signed in to change notification settings

tvandijck/git-lfs-rewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages