[GRASS-dev] git howto get a single diff for a PR with multiple commits
markus.metz.giswork at gmail.com
Wed Jun 5 05:28:37 PDT 2019
On Wed, Jun 5, 2019 at 7:51 AM Peter Petrik <
peter.petrik at lutraconsulting.co.uk> wrote:
> you can diff the branch agains the branch origin point (see eg
For example if you PR 28 is on local branch pr_28, branched from master you
> git checkout pr_28
> git diff master...
that's exactly what I was looking for, thanks!
> On Wed, Jun 5, 2019 at 6:44 AM Ken Mankoff <mankoff at gmail.com> wrote:
>> On 2019-06-04 at 23:12 +02, Markus Metz <markus.metz.giswork at gmail.com>
>> > I would like to speed up reviewing of a PR with multiple commits by
>> > reading a single diff file. How is this possible with git? [...] can
>> > git (on CLI on my local copies) also do this?
>> I think git can diff any two commits. Do this by providing two commit
hashes instead of just one (which defaults to that v. the currently checked
out hash + any local changes).
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev