Applying patch from remote fork (github)
Find which commit you want to patch, for example:
https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f
Append ".patch" to URL:
https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f.patch
Run this to apply:
curl https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f.patch | git apply
Reference:
http://transparatech.com/blog/how-use-git-apply-patch-directly-remote-server-without-downloading-it-first-0
https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f
Append ".patch" to URL:
https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f.patch
Run this to apply:
curl https://github.com/waalt/yowsup/commit/2a56d2c25e53b37221190185c5ffd0eb543bb73f.patch | git apply
Reference:
http://transparatech.com/blog/how-use-git-apply-patch-directly-remote-server-without-downloading-it-first-0
Comments