News for hackers. Stuff that matters.
Re:Don't use Git rebase by pandemi on Saturday September 16, 2017 @05:24AM (#15263767)
The main use case for rebase for me is to add automatic rebases on pull to the git config.

Normally if you pull from the remote and have local commits not in the remote, you'll have an "extra" merge. Automatic rebase on pull takes care of this, to avoid those useless merges.

Re:Don't use Git rebase by fulafel on Saturday September 16, 2017 @05:46AM (#15263824)
They are not useless: they record when git used its fallible automatic merging logic to reconcile changes in two different branches. It works most of the time, but you really want to keep a record of it for later troubleshooting.

Have a look at https://github.com/git/git/blob/master/Documentation/merge-s... to get some idea what is going on behind the scenes in automatic merges.

Re:Don't use Git rebase by derimagia on Monday September 18, 2017 @12:21AM (#15273381)
git rebase gives that just fine, even demonstrated here: https://git-scm.com/blog/2010/03/08/rerere.html.
Re:Don't use Git rebase by andybak on Saturday September 16, 2017 @05:37AM (#15263794)
Surely our tools should simply have an option of hiding useless merges. It's a display problem not a reason to change history.
Re:Don't use Git rebase by mvc on Saturday September 16, 2017 @06:44AM (#15264002)
They do. git log --no-merges