Thanks Ondrej, Aaron for the information. Regards, Thilina
On Thu, Aug 22, 2013 at 1:38 AM, Aaron Meurer <asmeu...@gmail.com> wrote: > On Wed, Aug 21, 2013 at 10:02 AM, Ondřej Čertík <ondrej.cer...@gmail.com> > wrote: > > On Tue, Aug 20, 2013 at 3:47 PM, Aaron Meurer <asmeu...@gmail.com> > wrote: > >> You shouldn't make a new clone to get people's work. You should only > >> ever create one clone per project. To add other people, use git > >> remotes in your original clone, like > >> > >> git remote add pernici https://github.com/pernici/sympy.git > >> git fetch pernici > >> git checkout pernici/master # Or whatever the branch name is > > > > This only checks out the remote branch, which is great for quick testing. > > For longer term work, I prefer to have local branch. So I do: > > > > git checkout -t pernici/branch_name > > > > Then it creates a "branch_name" branch, which tracks the remote > > pernici/branch_name. > > If Mario pushes more patches into it, you just do "git pull". > > > > Ondrej > > Different strokes. I prefer to work in detached head mode. The only > exception is when I want to commit some changes to push up against the > branch. The nice thing about detached head mode is that you can do > things without cluttering up branches. For example, you can just do > > git merge master > > on the detached head to merge the branch with master, but without > affecting any kind of tracking branch. > > And anyway, I 99% of the time don't want to use the branch more than > once, so creating a local branch for it each time just clutters > things. > > But it's good to know the alternatives. The important thing in git is > to just know what is going on. That way, in any situation, the correct > commands to use is simply dictated by whatever it is you want to do, > rather than some kind of quick start guide or cheat sheet. > > Aaron Meurer > > > > >> > >> You only need to do the first command once per remote. The second > >> command will download changes. The third command will checkout the > >> remote branch locally. > >> > >> Aaron Meurer > >> > >> > >> On Tue, Aug 20, 2013 at 2:04 AM, Thilina Rathnayake > >> <thilina.r...@gmail.com> wrote: > >>> Hi All, > >>> > >>> I recently got a clone of Pernici's SymPy fork to review it. > >>> But when I tried, > >>> > >>>> python ./bin/isympy > >>> > >>> > >>> inside it, the following error occurred. > >>> > >>>> > >>>> Traceback (most recent call last): > >>>> File "./bin/isympy", line 189, in <module> > >>>> main() > >>>> File "./bin/isympy", line 186, in main > >>>> init_session(ipython, **args) > >>>> File "./sympy/interactive/session.py", line 122, in init_session > >>>> ip = IPython.ipapi.get() > >>>> AttributeError: 'module' object has no attribute 'ipapi' > >>> > >>> > >>> But I can run the above command inside the clone of my fork of sympy. > >>> Does anyone know what causes this? > >>> > >>> Thanks in advance. > >>> > >>> -- > >>> 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. > >>> 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 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. > >> 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 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. > > 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 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. > 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 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. For more options, visit https://groups.google.com/groups/opt_out.