Hello.

Thanks a lot for the guru's tips about local PRs.


*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French math teacher in a "Lycée" **and **Python **amateur developer*

2015-04-02 17:52 GMT+02:00 Aaron Meurer <asmeu...@gmail.com>:

> You can also add something to your ./git/config to always fetch these
> https://gist.github.com/piscisaureus/3342247
>
> I recommend using the hub command for better integration with git and
> github.
>
> Aaron Meurer
>
> On Thu, Apr 2, 2015 at 10:19 AM, Ondřej Čertík <ondrej.cer...@gmail.com>
> wrote:
> > Hi Christophe,
> >
> > On Thu, Apr 2, 2015 at 8:38 AM, Joachim Durchholz <j...@durchholz.org>
> wrote:
> >> Am 02.04.2015 um 11:30 schrieb Christophe Bal:
> >>>
> >>> Thanks for the answers.
> >>>
> >>> Indeed I was hoping that git can manage multi pull requests. If it is
> not
> >>> case, Il will build a python scripts such to play with the git --stat
> >>> outputs.
> >>
> >>
> >> Wait until you have seen some actual merge conflicts :-)
> >>
> >> It's not usually an issue.
> >> Not unless you do something cross-cutting that touches many modules. And
> >> even then it does not happen very often that two people touch related
> lines
> >> of code.
> >>
> >>> Now that I know a little git, I will try to participate as soon as
> >>> possible.
> >>
> >>
> >> That's enough to participate. git expertise comes with use (that's more
> true
> >> for git than for many other tools).
> >>
> >>> Thanks for pycharm but I prefer to use atom.
> >>
> >>
> >> No problem with that.
> >
> > I would also mention that you can access the PRs from git. I have this
> > in ~/.gitconfig:
> >
> > [alias]
> >     pr = !sh -c 'git fetch origin pull/$1/head:pr-$1 && git checkout
> pr-$1' -
> >
> > Then you can checkout any PR as follows:
> >
> > ondrej@eagle:~/repos/sympy(master)$ git pr 9234
> > remote: Counting objects: 161, done.
> > remote: Compressing objects: 100% (67/67), done.
> > remote: Total 161 (delta 80), reused 52 (delta 52), pack-reused 42
> > Receiving objects: 100% (161/161), 165.97 KiB | 0 bytes/s, done.
> > Resolving deltas: 100% (85/85), done.
> > From https://github.com/sympy/sympy
> >  * [new ref]         refs/pull/9234/head -> pr-9234
> >  * [new tag]         sympy-0.7.6 -> sympy-0.7.6
> >  * [new tag]         sympy-0.7.6.rc1 -> sympy-0.7.6.rc1
> >  * [new tag]         sympy-0.7.6.rc2 -> sympy-0.7.6.rc2
> > Switched to branch 'pr-9234'
> > ondrej@eagle:~/repos/sympy(pr-9234)$
> >
> >
> > So you can checkout two PRs and use git to investigate. You can use git
> --stat.
> >
> > Ondrej
> >
> > --
> > 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 sympy+unsubscr...@googlegroups.com.
> > To post to this group, send email to sympy@googlegroups.com.
> > Visit this group at http://groups.google.com/group/sympy.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CADDwiVBNUvwtRmHBjNFQLyEeE3dQj8pFumB%2BRULYVgNOS%2BDDEg%40mail.gmail.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6KTtHAbRj52%2BGkpX-dNFPP2HZ4rcXDAJ9rkoCdMwPVApQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAAb4jGnU-SDuePtKnVF%2BSNJtTdnU_SdtaUJKZrpv%2B%3D_K_e9rLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to