Vamshi Suram Vamshi Suram - 1 year ago 143
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download