Testing Github Pull Requests Using git Patches
by Andrew Kroh
Did you know that Github can provide a patch file for any pull request (PR)?
.patch to any pull request URL will get you a patch file for the
If you want to locally test the changes provided in the PR then applying the
patch to your local repository can be a fast way to get the changes. You simply
need to download the patch with
curl then apply it using
curl -L -O https://github.com/elastic/go-libaudit/pull/18.patch git am 18.patch
After running those command the PR will be applied to your branch. You can see the changes by checking the git log.
git log -1
Subscribe via RSS