Ángel Ortega III

Un naufragio personal

How can I split a single file from a git repo into a new repo?

Summary:

 cd oldrepo
 git fast-export HEAD -- myfile > ../myfile.fi
 cd ..
 mkdir newrepo
 cd newrepo
 git init
 git fast-import < ../myfile.fi
 git checkout

https://stackoverflow.com/questions/39479154/how-can-i-split-a-single-file-from-...

links, git