Forrest logo
back to context overview

git-apply

List of commands for git-apply:

  • git-apply:tldr:11a4c git-apply: Print messages about the patched files.
    $ git apply --verbose ${filename}
    try on your machine
    explain this command
  • git-apply:tldr:3c6ca git-apply: Apply and add the patched files to the index.
    $ git apply --index ${filename}
    try on your machine
    explain this command
  • git-apply:tldr:669d1 git-apply: Store the patch result in the index without modifying the working tree.
    $ git apply --cache ${filename}
    try on your machine
    explain this command
  • git-apply:tldr:e4d30 git-apply: Output diffstat for the input and apply the patch.
    $ git apply --stat --apply ${filename}
    try on your machine
    explain this command
  • git-apply:tldr:f949a git-apply: Apply the patch in reverse.
    $ git apply --reverse ${filename}
    try on your machine
    explain this command
back to context overview