@Aaron, thank you very much for the explanation. I would have taken much
longer to achieve this alone... we should post this as a question in
StackOverflow since I haven't found it there so far...


2013/9/7 Aaron Meurer <[email protected]>

> The workflow is that you clone a repo once, from the official github
> (so in this case, sympy/sympy), and you add forks (including your own)
> as remotes. So, if you haven't cloned yet
>
> git clone [email protected]:sympy/sympy.git
> cd sympy
>
> then add skirpichev as a remote
>
> git remote add skirpichev [email protected]:sympy/sympy.git
>
> and download the code
>
> git fetch skirpichev
>
> and check out the code
>
> git checkout skirpichev/3198-euler
>
> This will checkout a "detached head" state. If you want to commit
> additional changes to the remote branch, you need to create your own
> branch.
>
> git branch branchname
>
> By the way, you can replace the ssh urls with https or git urls if you
> want. It's recommended to use ssh for your own fork, though, if your
> network allows it, because it's much easier and more secure.
>
> Once you do have your own fork, you can do
>
> git remote add github [email protected]:yournick/sympy.git
>
> (replace "yournick" with your nickname).
>
> The names of the remotes are arbitrary, but it's easiest if you use
> "github" for your fork and the person's username for other people's
> forks.
>
> Then, to push code to your fork, use
>
> git push github branchname
>
> Aaron Meurer
>
> On Sat, Sep 7, 2013 at 3:26 AM, Saullo Castro <[email protected]>
> wrote:
> > I created a fork of sympy in my account.
> > Now I don't know which branch to add in order to get this pull request.
> > For this case, which name should I use for github-somenick ? And for
> > somebranch.
> >
> > Sorry by these basic questions, but I have really no idea !
> >
> >
> >
> > On Saturday, September 7, 2013 11:12:38 AM UTC+2, Sergey Kirpichev wrote:
> >>
> >> On Sat, Sep 07, 2013 at 10:13:01AM +0200, Saullo Castro wrote:
> >> >    I tried to clone�[1]https://github.com/sympy/sympy/pull/2431�but
> this
> >> > is
> >> >    not merged yet. How can I clone from this pull request in order to
> >> > work in
> >> >    it?
> >>
> >> Clone sympy first.  Then, add remote repository you needed:
> >> git remote add github-somenick [email protected]:somenick/sympy.git
> >> git fetch github-somenick
> >>
> >> and check out the branch you want to work on:
> >> git checkout -b you-name-it github-somenick/somebranch
> >>
> >> PS:
> >> Inspired by:
> >>
> >>
> https://github.com/sympy/sympy/wiki/Development-workflow#wiki-cloning-sympy
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/sympy.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sympy" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sympy/cvOjJdEWprM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to