Forrest logo
back to context overview

git-format-patch

List of commands for git-format-patch:

  • git-format-patch:tldr:5fe8c git-format-patch: Write a `.patch` file for all the commits between 2 revisions to `stdout`.
    $ git format-patch ${revision_1}..${revision_2}
    try on your machine
    explain this command
  • git-format-patch:tldr:c4ba1 git-format-patch: Create an auto-named `.patch` file for all the unpushed commits.
    $ git format-patch ${origin}
    try on your machine
    explain this command
  • git-format-patch:tldr:f5042 git-format-patch: Write a `.patch` file for the 3 latest commits.
    $ git format-patch -${3}
    try on your machine
    explain this command
back to context overview