Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove "incubator"

...

 

Code Block
languagebash
$ git remote add apache https://git-wip-us.apache.org/repos/asf/incubator-reef.git

As a result, you can refer to the ASF git as "apache". An example setup, with a the GitHub mirror at upstream and a forked GitHub origin at {username}:

Code Block
languagebash
$ git remote -v
apache  https://git-wip-us.apache.org/repos/asf/incubator-reef.git (fetch)
apache  https://git-wip-us.apache.org/repos/asf/incubator-reef.git (push)
origin  https://github.com/{username}/incubator-reef.git (fetch)
origin  https://github.com/{username}/incubator-reef.git (push)
upstream  https://github.com/apache/incubator-reef.git (fetch)
upstream  https://github.com/apache/incubator-reef.git (push)

 

Merge changes

...

You can merge this Pull Request by running

  git pull https://github.com/jwang98052/incubator-reef juwang-logfactory

This copies the changes from the given remote branch into the one we just created locally.

...

You can download the .diff file by appending .diff to the GitHub Pull Request url. This file will contain the exact changes that are shown in "Files changed" in the GitHub GUI. For example, for https://github.com/apache/incubator-reef/pull/24 the .diff file is https://github.com/apache/incubator-reef/pull/24.diff. Using this url, run apply: 

Code Block
languagebash
$ wget https://github.com/apache/incubator-reef/pull/24.diff
$ git apply 24.diff

...