I am new to github (I used it because Ralf suggested it) so I don't really
know how to use it but it seems to work for me. I go to
http://github.com/martinbaker/multivector/
then click on:
clifford.spad.pamphlet
under multivector / section of the page. This shows the text of the pamphlet
file.  Can anyone else see it? I would welcome any advise if there is a better
way to use github?

There is a "Download Source" button on
  http://github.com/martinbaker/multivector
But using

  git clone git://github.com/martinbaker/multivector.git

is the way to obtain the (read-only) sources. Actually 'read-only' is nonsense for git, since when you clone a repository, you have everything local and even can commit (locally). By read-only, I just meant that you cannot push your changes back to Martin's github account.

Even better (for other people than Martin Baker) to create an account on github and than click the "Fork" button on
  http://github.com/martinbaker/multivector
This gives a read/write repository which you can publicly write to and leaves Martin with the option to fetch your changes.

I've just done this
  http://github.com/hemmecke/multivector

Now I could say

  git clone [email protected]:hemmecke/multivector.git

(Note that the difference to the 'git clone' above!)
That gives me a local directory "multivector" on my laptop. I can then modify Martin's file(s), commit and push the changes back to my repository at github via

  ... edit inside multivector
  git add FILE-THAT-WAS-CHANGED
  git commit                 # commit locally
  git push origin master     # push back to github

Now Martin has the option to pull my changes into his repository. Just by adding my repository as a "remote". On his local computer (inside multivector) he would say

  git remote add ralf git://github.com/hemmecke/multivector.git

(needs to be done only once)

and finally

  git fetch ralf
  (that only fetches my changes but doesn't merge them to
   the current branch)

or

  git pull ralf master
  (that will fetch and merge to the master branch)

I haven't yet done this myself, but if there is interest I try to figure it out and put a note on the Axiom-Wiki. I'll do that anyway in the next few days, but "interest of others" might increase my motivation to start.

Anyway, with git there is no danger in losing data. One can easily go back and clean up a mangled repository. However, it's maybe even easier to test all the commands first on a clone of your original repository.

If there are any more questions left (wrt. git), I'd be happy to answer them.

Best,
Ralf
-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.


Reply via email to