List unique contributors between two release tags
Build a paste-ready command, then review its compatibility and effects before running it.
git log <from-tag>..<to-tag> --format='%aN <%aE>' | sort -fuComplete required fields to copy the generated command.
read-onlyno known side effects Compatibility
Linux + macOSVerified for Linux, macOS using bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsgitgit must be installed and available on PATH.
Version supportgit Current supported releasesVerified for linux, macos using bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsAda Lovelace <ada@example.com>Representative successful output; values vary with the selected target and system state.
Known errorsgit: command not foundgit is missing or is not available on PATH.
Verifygit log {{fromTag}}..{{toTag}} --format='%aN <%aE>' | sort -fuThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01gitCommandRuns the git stage of this one-liner.
02logArgumentPasses log to git.
03<from-tag>..ParameterA value supplied in the Fill parameters section.
04<to-tag>ParameterA value supplied in the Fill parameters section.
05--format='%aNOptionFormats each result using the supplied template.
06<RedirectionRedirects command input, standard output, or error output.
07%aEVariableExpands a value from the current shell environment or loop.
08>RedirectionRedirects command input, standard output, or error output.
10|PipelinePasses the output on the left to the command on the right.
11sortCommandRuns the sort stage of this one-liner.
12-fuOptionConfigures sort with the -fu option.
This advanced community-curated one-liner combines several stages. Review every option and placeholder before running it.
Example input
git log v4.7.0..v4.8.0 --format='%aN <%aE>' | sort -fu
Example output
Ada Lovelace <ada@example.com>
Grace Hopper <grace@example.com>
Lin Chen <lin@example.com>
Illustrative output — exact values vary by system and data.
Official sources