Applies the named commit to the current branch and appends a line noting the original commit hash in the new message. The -x trailer makes provenance traceable across branches. Use it when cherry-picking between long-lived branches.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.