Versions Compared

Key

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

...

If you have not done so already, add ASF git repository. For example, to add as the "apache" remote repository:

 

Code Block
languagebash
$ git remote add apache git://git.apache.org/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  git://git.apache.org/incubator-reef.git (fetch)
apache  git://git.apache.org/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)

 

1. Create a branch on your local git repository

...