So I’m trying to improve my understanding of
git, as I mentioned in my
multiclipboard post in the Gallery. One of the features of
git I haven’t really tried yet is branching. I understand the basic idea – it’s a way to, say, try something new without breaking everything else in a project.
Of course, all the exercises have “How to Break It” and “Extra Credit” sections. I feel like those would be prime opportunities to learn how to use branching.
I see it thus:
- keep the original version of each exercise in
- do up the extra credit in an appropriate branch, like
I know I could merge the changes from
master, but would it be possible to explicitly keep them separate, like for “archival” purposes (to easily see how things changed)? Or is that not the way I should be going about branching?