Re: reject backwards merges

2014-12-13 Thread David Kastrup
Patrick Donnelly batr...@batbytes.com writes: Is there a way to reject pushes that change the history of first-parents, caused by a backwards merge? To clarify by example (using branches instead of separate repositories): Here the desired first parent (HEAD^) would be commit

reject backwards merges

2014-12-12 Thread Patrick Donnelly
Is there a way to reject pushes that change the history of first-parents, caused by a backwards merge? To clarify by example (using branches instead of separate repositories): $ git init Initialized empty Git repository in /tmp/tmp.O0efpRrV4p/.git/ $ touch foo $ git add foo $ git commit -m