CmdID

CmdID / Commands

git-apply

Apply a patch to files and/or to the index without creating a commit. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Print messages about the patched files

git apply --verbose path/to/fileIdentify

Apply and add the patched files to the index

git apply --index path/to/fileIdentify

Apply a remote patch file

curl --location https://example.com/file.patch | git applyIdentify

Trips 1 Sigma rule: lowCurl Usage on Linux by Nasreddine Bencherchali (Nextron Systems)

Output diffstat for the input and apply the patch

git apply --stat --apply path/to/fileIdentify

Apply the patch in reverse

git apply --reverse path/to/fileIdentify

Store the patch result in the index without modifying the working tree

git apply --cache path/to/fileIdentify