Presented by Krishna Prasad

About Us

What is our aim

Git Apply ( git apply ) Command

git apply takes a patch i.e content from git diff and apply to the currently working directory/directory where changes are present in git diff

git apply make you the changes in the source files as if you were writing the code yourself, consequently git status and git diff will output the changes appeared in the patch you applied. Hence with git apply you can fix/add more changes and git add them together as a single new patch.