Vamshi Suram
Vamshi Suram

Reputation: 870

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?

Upvotes: 0

Views: 99

Answers (1)

SeinopSys
SeinopSys

Reputation: 8937

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.

Upvotes: 1

Related Questions