Being a git virgin, I tried following the FAQ on Confluence:

https://cwiki.apache.org/confluence/display/Corinthia/Git+FAQ

Step 1 is fine, but, step 2 does not work for me:

$ git clone --origin apache
https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git
Cloning into 'incubator-corinthia'...
(snip) ... works just fine.
~/coriginal>
$ git remote add github https://github.com/apache/incubator-corinthia.git
fatal: Not a git repository (or any of the parent directories): .git
~/coriginal>

Also, further down the page, the html seems to have an error, on my browser
(Chromimum) it displays all the tags like so:

{{git config --local --add remote.github.fetch '+refs/pull/*/
head:refs/remotes/github/pr/* <http://headrefs/>'}}

Finally, run git fetch --all to update from all remote repositories - you
will see all the pull requests appear:

{{[new ref]         refs/pull/98/head -> github/pr/98
  * [new ref]         refs/pull/99/head -> github/pr/99}}

h3. Merging a pull request

                   <p>Fetch the latest remote branches, which will cause a
remote branch for the PR to become available to you.
                   <div class="panel">git fetch --all</div>

(... snip)


I made an account on Confluence, but I cannot see an edit button to fix it.


G
-- 
Visit my Coding Diary: http://gabriela-gibson.blogspot.com/

Reply via email to