Vamshi Suram Vamshi Suram - 7 months ago 104
Git Question

Applying code patch in GitHub

In GitHub, we can create branches, edit files, commit there itself.
I want to know if there is a way I can just copy patch into some editor block and it will apply to the repo's branch?

In short: I want to

git apply <somepatch>
on the GitHub website itself. Does GitHub give that functionality?


As of right now there is no way to apply patches through the GitHub website directly. You need to clone the repository, apply the patch, then push your changes yourself.