tj / git-extras

GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
MIT License
17.28k stars 1.21k forks source link

Feature request: git-extract #389

Open adius opened 9 years ago

adius commented 9 years ago
git-extract [directory] <destination>

Extract a directory from the current branch into its own repository and keep the history. If no directory is given, the current one will be used.

Explained in this article: https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository

hemanth commented 9 years ago

Nice to have feature, PR welcomed :)