[GRASS-dev] git howto get a single diff for a PR with multiple	commits
    Markus Neteler 
    neteler at osgeo.org
       
    Wed Jun  5 14:36:03 PDT 2019
    
    
  
Hi,
On Wed, Jun 5, 2019 at 2:28 PM Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> On Wed, Jun 5, 2019 at 7:51 AM Peter Petrik <peter.petrik at lutraconsulting.co.uk> wrote:
> > Hi,
> >
> > you can diff the branch agains the branch origin point (see eg https://stackoverflow.com/questions/29810331/is-there-a-quick-way-to-git-diff-from-the-point-or-branch-origin). For example if you PR 28 is on local branch pr_28, branched from master you can do:
> >
> > git checkout pr_28
> > git diff master...
>
> that's exactly what I was looking for, thanks!
Thanks, I have taken liberty to add the trick to
https://trac.osgeo.org/grass/wiki/HowToGit#Codereview:generateasinglediffforaPRwithmultiplecommits
markusN
    
    
More information about the grass-dev
mailing list