Re:The Emacs dumper dispute
by xenadu02 on Thursday December 01, 2016 @01:55AM
(#13077710)
My first step with git is always creating a new branch, then I commit multiple times a day with "wip" or minor notes as the commit message. It is purely to capture the stream-of-consciousness of the code. When it comes time to create a sensible patch I immediately branch again. The old WIP branch is not touched until I've completely merged the feature. On the new branch I usually reset then commit hunks in some way that makes sense, or if the changes are small squash everything into a single commit.
You can also do the same thing with tags if you like.
There is no penalty to branches in git... use them. Frequently.
Re:The Emacs dumper dispute
by weavie on Thursday December 01, 2016 @02:41AM
(#13077893)
I got into trouble at one stage mixing branching with rebasing. This really put me off branching. Creating a new branch to perform the merge is a stroke of genius - thanks! I will be doing that right away.
You can also do the same thing with tags if you like.
There is no penalty to branches in git... use them. Frequently.