Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use commit URL as patch? #286

Closed
ghost opened this issue Oct 30, 2019 · 2 comments
Closed

Use commit URL as patch? #286

ghost opened this issue Oct 30, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2019

I know we can use remote URLs for a patch file, but is it possible to use a commit hash URL, from github, e.g. 70528c8 as the remote patch location?

@cweagans
Copy link
Owner

Yep! If you tack on .patch to most github urls, it'll just work.

https://github.com/cweagans/composer-patches/commit/70528c867a9f30956b6dc012be0bec2aada6e911.patch

@ghost
Copy link
Author

ghost commented Oct 30, 2019

Wicked, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant