Child pages
  • Getting Started with Git

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It may not be obvious how to do this. If one is a committer, there is a button one can push to automatically accept a pull-request. But is this really a safe thing to do? But how can you get the diffs being suggested? It seems more complicated than it needs to be to merge the branch the pull-request was made from. One can actually use a URL that specifies just the diff. If the pull-request is at https://github.com/projectwonderwocommunity/wonder/pull/43, one can do:

Code Block
curl 'https://github.com/projectwonderwocommunity/wonder/pull/43.patch' | git am

...