I have a branch that I'd like to move into a separate Git repository, and ideally keep that branch's history in the process. So far I've been looking at git filter-branch
, but I can't make out whether it can do what I want to do.
How do I extract a Git branch out into its own repository?