Question

I'm new to GitHub and Git. But got some experience over the last month. I use the Windows XP client.

What I would like to do is do all my dev in master, so all my notes, scratch work, psd files of the images are here. So lets say i went from commit "initial.rev0" to "initial.rev5"

Now .rev6 I want to release but in here I want to remove all the comments from my files. So I do that then create "release" branch and put .rev6 and call it "initial.rev6". The problem is here, ill explain in a second.

Then I switch back to master branch and continue my work with the files with all the debug stuff in tact. I do a commit here in master and it's now "initial.rev7". We don't see "initial.rev6" in master branch. Release branch does not have "initial.rev7" which is good.

So now on the release branch it now has all commits "initail.rev0" till "initial.rev5" thats the problem. How can I make it so release branch starts with commit "initial.rev6".

I thought to create "release" branch at start when i Make the repo but its having problems it says I need at least 1 commit before branching.

Thx

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top