Filters commits by the type of change in their diff: M for modified, A for added, D for deleted, R for renamed, and C for copied. A commit shows up when any of its files match. Chain letters like --diff-filter=AM to match several kinds.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.