You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by Apache Wiki <wi...@apache.org> on 2014/07/15 15:07:20 UTC
[Jclouds Wiki] Update of "Committers Guide" by IgnasiBarrera
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jclouds Wiki" for change notification.
The "Committers Guide" page has been changed by IgnasiBarrera:
https://wiki.apache.org/jclouds/Committers%20Guide?action=diff&rev1=11&rev2=12
Comment:
Improved the remote fetch
a. Alternatively, you can configure a ''github'' remote to also fetch the pull requests, and checkout them as follows (for a complete guide refer to [[https://help.github.com/articles/checking-out-pull-requests-locally|the GitHub howto]]):
{{{
$ git remote add github git@github.com:jclouds/jclouds.git
+ $ git config --local --add remote.github.fetch '+refs/pull/*/head:refs/remotes/github/pr/*'
- $ vim .git/config
-
- # Edit the 'github' remote and add the additional 'fetch' line as follows
- [remote "github"]
- url = git@github.com:jclouds/jclouds.git
- fetch = +refs/heads/*:refs/remotes/github/*
- fetch = +refs/pull/*/head:refs/remotes/github/pr/*
# Now when fetching you will see all the pull requests (you can checkout them with "git checkout github/pr/99"):
$ git fetch github