Forrest logo
back to the git tool

git-mailinfo:tldr:728d2

git-mailinfo: Extract but remove leading and trailing whitespace.
$ git mailinfo -k ${select}
try on your machine

The git mailinfo command is used to extract patch and authorship information from an email message. Specifically, the -k option of the git mailinfo command is used to specify a selection pattern that will be used to match specific patches in the email message. In the command provided, ${select} is likely a placeholder for the actual selection pattern that you would provide when running the command. For example, if you want to select patches that have a specific subject line, you could replace ${select} with a pattern that matches the desired subject line, such as -s "Bug fix". The command with the placeholder expanded could look like this: ``` git mailinfo -k "-s 'Bug fix'"

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the git tool