Reputation: 14583
I'm looking to rewrite my git repo to use a new branching model I came across:
But right now all my history lives in the master branch. I'd like to rewrite it (possible using git-filter-branch?) So that all that history is in a branch called development now.
Is this possible? It's definitely beyond my limited git skills.
Upvotes: 1
Views: 736
Reputation: 388103
Just create a development branch, pointing to the master's HEAD, and then you can delete the master branch.
Btw. from the first look at that branching model, I don't think it was made while really thinking of git's branching techniques. Because it interprets branches as steady development lines which is true for other VCSystems like SVN, but not for git. Branches in git are just pointers to commits, and you can move them around as much as you want.
Upvotes: 2