Rewriting git history to convert master branch to development branch?

Just create a development branch, pointing to the master's HEAD, and then you can delete the master branch.

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.

Or even git branch -m master development. But you're right, that's a weird-looking workflow. It mostly makes sense except the master "branch", which somehow never merges from develop yet manages to increment version numbers.

If you take off master, rename develop back to master, and tag the versioned releases, it'd be a little more reasonable. – Jefromi Mar 27 '10 at 19:49 Oops, my previous comment was misinformed - the full workflow is not actually shown in the main diagram at the top. It's actually a fairly traditional git workflow, with topic branches (features, bugfixes) branching off, then being merged upwards, and the stable branch periodically moving up when development is considered stable.It looks like a good workflow - but the OP probably needs to understand a bit more about what branches mean before trying to follow it.

– Jefromi Mar 27 '10 at 20:00 With respect to your comment that "you can move branches around as much as you want" - if by move you mean commit to and merge into, then yes. You don't want to actually move (i.e. Non-fast-forward changes) them though.

The branching model is really quite git-ish: it has many transient branches for final release integration, feature development, and bugfixes. The main branches remain stable so that users know what to pull: a stable release from master or a nightly build from develop. – Jefromi Mar 27 '10 at 20:03 Hmm.

Then I guess I should read that article a bit more detailed ^^ – poke Mar 27 '10 at 20:03 by moving around much I meant that when merging (or fast-forwarding) a branch, all those commits would move to the new target branch, so in the end the result would look more linear and less split into the branches. – poke Mar 27 '10 at 20:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions