Skip to content

Add git diff tricks to git cheat sheet section #794

Closed
@erlend-aasland

Description

@erlend-aasland

After python/cpython#30745 we can do some neat git diff tricks:

$ git switch <somebranch-with-autogenerated-changes>
$ git diff main ':(attr:!generated)'
$ git config diff.generated.binary true
$ git diff main

It would be nice to document these in the devguide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions