Possible application locations for git_apply
Apply the patch to the workdir, leaving the index untouched. This is the equivalent of git apply
with no location argument.
Apply the patch to the index, leaving the working directory untouched. This is the equivalent of git apply --cached
.
Apply the patch to both the working directory and the index. This is the equivalent of git apply --index
.