Git Talk FUDCon10


 * 1) Write some code
 * 2) Do
 * 3) To commit, do
 * 4) * Do a short commit message (for first line browsers), then do more details below
 * 5) ** The newline character is the marking point, the extra line space makes nice formatting
 * 6) * Tells git to only stage files that have been modified or deleted, but ignores new files
 * 7) On fedorapeople.org to get an executable:
 * 8) * == you forgot to add it
 * 9) * Only if you have no changes locally
 * 10) * Merges changes or forces you to fix (as you go)
 * 11) * Shoves the trees together
 * 12) * Best practice -- avoid running git pull on anything that is r/w
 * 13) * Try a rebase:
 * 14)   -- GUI view of the repo
 * 15)   is useful
 * 16)   -- use only to see what branches you have and what you are in
 * 1) * Only if you have no changes locally
 * 2) * Merges changes or forces you to fix (as you go)
 * 3) * Shoves the trees together
 * 4) * Best practice -- avoid running git pull on anything that is r/w
 * 5) * Try a rebase:
 * 6)   -- GUI view of the repo
 * 7)   is useful
 * 8)   -- use only to see what branches you have and what you are in
 * 1) * Try a rebase:
 * 2)   -- GUI view of the repo
 * 3)   is useful
 * 4)   -- use only to see what branches you have and what you are in
 * 1)   is useful
 * 2)   -- use only to see what branches you have and what you are in

Branching

 * 1) mkdir foo/ bar/
 * 2) cd foo/
 * 3) git (a branch) foo
 * 4) git (a branch) bar


 * 1) mkdir livecd-tools.master
 * 2) git clone ssh://git.fedorahosted.org/git/livecd.git livecd.f9
 * 3) cd livecd.f9
 * 4) git clone ssh://git.fedorahosted.org/git/livecd.git livecd.f9
 * 5) git branchv
 * 6) get checkout --track origin/f9-branch -b f9-branch

Tips

 * How git talks to itself is how it talks to you
 * Once you understand git talk, you understand git
 * Use fedorapeople.org ACLs to give commit permission
 * As a pre-fedorahosted.org step
 * The program  is a graphical viewer, but it's not maintained.
 * Use  to do a patch, if it is three lines away from other unchanged content
 * Use  before you commit to be sure you are doing what you mean to do
 * == switch to a branch
 * master == HEAD (basically)