Hello all,

For the Git talk on Thursday, you may want to install Git beforehand, if you 
don't have it yet. The talk will have slides (so you don't need Git to follow) 
but you might enjoy being able to try things out during the talk. We will use a 
test repository and a git commandline interface to understand how Git works. 
We'll cover the basics of standalone and remote use and branching. The rest of 
the email is installation tips, so skip if you just plan to watch the talk. :-)

I will be using Git 1.7 and since Git evolves rapidly you might want to make 
sure you get a 1.7.x version (latest stable release is 1.7.5.1) if you are 
installing fresh.
  
For Windows users, for the purposes of the talk, I recommend msysGit, available 
here: http://code.google.com/p/msysgit/ because it has a nice bash shell for 
using git from the commandline. Git-hub has an excellent help page for 
installation and setup of msysgit here: http://help.github.com/win-set-up-git/

For linux users Git can be downloaded here: http://git-scm.com/download or 
using instructions here: http://help.github.com/linux-set-up-git/ if you use 
synaptic. These latter instructions also describe ssh key setup for use with 
github.

I'm not sure if WiFi will be available, but if it is....

If you are interested in remote repository use you might want to set up an 
account at github or other git host and get any ssh key issues sorted out 
*before* the talk as this can be a bit of an ordeal if you aren't used to 
working with ssh keys. Github also has excellent ssh-key troubleshooting info 
here: http://help.github.com/troubleshooting-ssh/
but if you followed the setup instructions from github it *should* be set up 
right the first time without any fuss. <YMMV>

Finally, here is a little git command alias which I'll use during the talk:

[alias]
  objects = "!sh -c 'find .git/objects -type f | sed -e "s:.git/objects/::" -e 
"s:/::" | while read hash; do echo "================" $hash "================" 
; git show $hash; done' -"

If you like, you can add it to your .git/config in a test repository and it 
will allow you to type "git objects" to display information about all of Git's 
objects in the current repository. In a real repository this would be quite a 
lot more information than you probably ever want to see but for a small test 
repository it is handy. We will cover this in the talk but if you want to start 
setting up now, you can make a test directory, open a git-bash shell there, run 
"git init" and add the above alias to the file test/.git/config in your test 
directory. You won't have any objects at first but you'll be all ready for the 
talk. :-)

Hope to see you there!

Best regards,

Melissa
-----
Dr. Melissa Rice, PhD
Full Moon Technical Solutions, LLC
14202 60th Ave, NW
Stanwood, WA 98292-4808
email: mailto:[email protected]
phone: 360-654-0709
cell: 425-923-7713

Reply via email to