I'm looking to rewrite my git repo to use a new branching model I came across:
http://nvie.com/git-model
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 th开发者_运维问答is possible? It's definitely beyond my limited git skills.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.
精彩评论