[LRUG] Keeping a nice git history with a pull request workflow on github

Rob Miller rob at bigfish.co.uk
Tue Jul 16 08:28:22 PDT 2013


Another tip for merging:

	git config --global merge.summary true

…will append to the otherwise-empty merge commit a list of all the 
commits that have been merged, which makes your `git log` output a lot 
more useful at-a-glance.

Rob

On 16 Jul 2013, at 16:22, Tom Stuart wrote:

> On 16 Jul 2013, at 15:31, Chris Adams <wave at chrisadams.me.uk> wrote:
>> Anyone on the list found a nice way to combine the transparency and 
>> code review of a pull request based workflow, with the tidiness a 
>> well maintained git history?
>
> Collaborate on the branch as required, then rebase before merging, 
> doing any reordering / squashing / fixuping as required to
> leave a nice history. Merge with --no-ff to leave a nice, empty merge 
> commit (with non-bullshit commit message) annotating the collection of 
> commits that have been rebased & merged.
>
> Cheers,
> -Tom
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org



More information about the Chat mailing list