What you want to do is create a new branch, not a new fork. You can achieve this with the command
git checkout -b new_branch_name Anything you do here will be done in the branch. You can switch back and forth between branches with git checkout branch_name The default branch is master, so to get back to that, you would do "git checkout master". Note that git generally won't let you change branches if you have uncommited changes, so you usually have to commit your work before you change branches (or you can use git stash, which is a slightly more advanced command). Aaron Meurer On Tue, Mar 27, 2012 at 12:45 PM, Comer Duncan <comer.dun...@gmail.com> wrote: > Chris, > > Yes grep is a good thing. I have been using it since the 1980s when I > first started using unix. > > I am now starting to confront getting knowledge of git... > > I have a github account, have been using the git master of sympy for > several weeks and do a git pull every once in a while. For the making > and baking of my 'new' functions/methods, can I continue to use the > sympy I have and pull from to update or should I do another fork and > name it something else so as not to get confused about who is who? > > Comer > > On Tue, Mar 27, 2012 at 2:36 PM, Chris Smith <smi...@gmail.com> wrote: >> >> >> On Wed, Mar 28, 2012 at 12:06 AM, Comer Duncan <comer.dun...@gmail.com> >> wrote: >>> >>> Hi Chris, >>> >>> >>> >>> I have used this in my little implementation of the dual. Actually, I >>> first wrote my own Levi-Civita function only to discover later that it >>> is already done and in the tensor_functions module. Thanks for >>> checking. >>> >> >> grep is helpful in this regard. I knew that I had seen it before and if it's >> in the namespace I do something like >> >> ``` >>>>> [w for w in dir() if 'Levi' in w] >> ['LeviCivita'] >> >>>>> help(LeviCivita) >> Help on class LeviCivita in module sympy.functions.special.tensor_functions: >> >> class LeviCivita(sympy.core.function.Function) >> | Represent the Levi-Civita symbol. >> | >> | For even permutations of indices it returns 1, for odd permutations -1, >> and >> | for everything else (a repeated index) it returns 0. >> ... >> ``` >> >> This doesn't help if it's not imported. In those cases, grep is your >> friend...and the sympy list :-) >> >> /c >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to sympy@googlegroups.com. >> To unsubscribe from this group, send email to >> sympy+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.