Presented at PyLadies Montreal.
PyLadies Montréal :: October 22, 2013version control for the 21st centuryand:
View Slide
about me- Wendy Liu- Math & CS at McGill- 2.5 years experience with Git
what is git?
what is git?version control system!
svn/perforce: local vs. remotecomparison to other systems
svn/perforce: local vs. remotehg/bzr: faster, more controlcomparison to other systems
svn/perforce: local vs. remotehg/bzr: faster, more controlcvs/rcs: no comparisoncomparison to other systems
backup_dec_1_2012.zip backup_dec_8_2012.zip backup_dec_15_2012.zipbackup_dec_22_2012.zip backup_dec_29_2012.zip backup_jan_5_2012.zipbackup_jan_12_2012.zip backup_jan_19_2012.zip backup_jan_26_2012.zip
report_v1.doc report_v2.doc report_v3.doc report_v4.doc
keeps track of changesenter git.
keeps track of changesextremely flexibleenter git.
keeps track of changesextremely flexibledeveloped by linus torvaldsenter git.
keeps track of changesextremely flexibledeveloped by linus torvaldscompletely free to use (and open source!)enter git.
keeps track of changesextremely flexibledeveloped by linus torvaldscompletely free to use (and open source!)primarily command-lineenter git.
websitewhat is github?
websitecollaborative coding, via gitwhat is github?
websitecollaborative coding, via git(mostly) free to usewhat is github?
websitecollaborative coding, via git(mostly) free to usemajor part of developer ecosystem (esp. OSS)what is github?
why git?
why git?diffs
why git?diffsbackups
why git?diffsbackupscollaboration
what git can do for youversioningeasy collaborationblametracking down bugssafe experimentationstatistics
what github can do for youissue-trackingeven easier collaborationremote backupsaccess your files from anywheregraphical, easy-to-use UI
now: how git works
repositorydirectory on filesystemjust metadata (changes)manual grouping of changes
commitgroup of logically-related changes1 or more files (add/delete/modify)
staging indexCHANGES I WANT IN MY NEXT COMMITALL THE OTHER CHANGES
git commit -m 'test'CHANGES I WANT IN MY NEXT COMMITALL THE OTHER CHANGESa new commit, with message 'test'
CHANGES I WANT IN MY NEXT COMMITALL THE OTHER CHANGESthe commit with message 'test'(nothing here yet)
git demo
github demo
further resourceshelp.github.comgitimmersion.comgit-scm.com/booktry.github.comgit man pages (git help, git help [command])github.com/Gazler/githug
thanks!@dellsystem