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

>
> 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.

Reply via email to