Slide 1

Slide 1 text

PyLadies Montréal :: October 22, 2013 version control for the 21st century and :

Slide 2

Slide 2 text

about me - Wendy Liu - Math & CS at McGill - 2.5 years experience with Git

Slide 3

Slide 3 text

what is git?

Slide 4

Slide 4 text

what is git? version control system!

Slide 5

Slide 5 text

svn/perforce: local vs. remote comparison to other systems

Slide 6

Slide 6 text

svn/perforce: local vs. remote hg/bzr: faster, more control comparison to other systems

Slide 7

Slide 7 text

svn/perforce: local vs. remote hg/bzr: faster, more control cvs/rcs: no comparison comparison to other systems

Slide 8

Slide 8 text

backup_dec_1_2012.zip backup_dec_8_2012.zip backup_dec_15_2012.zip backup_dec_22_2012.zip backup_dec_29_2012.zip backup_jan_5_2012.zip backup_jan_12_2012.zip backup_jan_19_2012.zip backup_jan_26_2012.zip

Slide 9

Slide 9 text

report_v1.doc report_v2.doc report_v3.doc report_v4.doc

Slide 10

Slide 10 text

keeps track of changes enter git.

Slide 11

Slide 11 text

keeps track of changes extremely flexible enter git.

Slide 12

Slide 12 text

keeps track of changes extremely flexible developed by linus torvalds enter git.

Slide 13

Slide 13 text

keeps track of changes extremely flexible developed by linus torvalds completely free to use (and open source!) enter git.

Slide 14

Slide 14 text

keeps track of changes extremely flexible developed by linus torvalds completely free to use (and open source!) primarily command-line enter git.

Slide 15

Slide 15 text

website what is github?

Slide 16

Slide 16 text

website collaborative coding, via git what is github?

Slide 17

Slide 17 text

website collaborative coding, via git (mostly) free to use what is github?

Slide 18

Slide 18 text

website collaborative coding, via git (mostly) free to use major part of developer ecosystem (esp. OSS) what is github?

Slide 19

Slide 19 text

why git?

Slide 20

Slide 20 text

why git? diffs

Slide 21

Slide 21 text

why git? diffs backups

Slide 22

Slide 22 text

why git? diffs backups collaboration

Slide 23

Slide 23 text

what git can do for you versioning easy collaboration blame tracking down bugs safe experimentation statistics

Slide 24

Slide 24 text

what github can do for you issue-tracking even easier collaboration remote backups access your files from anywhere graphical, easy-to-use UI

Slide 25

Slide 25 text

now: how git works

Slide 26

Slide 26 text

repository directory on filesystem just metadata (changes) manual grouping of changes

Slide 27

Slide 27 text

commit group of logically-related changes 1 or more files (add/delete/modify)

Slide 28

Slide 28 text

staging index CHANGES I WANT IN MY NEXT COMMIT ALL THE OTHER CHANGES

Slide 29

Slide 29 text

git commit -m 'test' CHANGES I WANT IN MY NEXT COMMIT ALL THE OTHER CHANGES a new commit, with message 'test'

Slide 30

Slide 30 text

CHANGES I WANT IN MY NEXT COMMIT ALL THE OTHER CHANGES the commit with message 'test' (nothing here yet)

Slide 31

Slide 31 text

git demo

Slide 32

Slide 32 text

github demo

Slide 33

Slide 33 text

further resources help.github.com gitimmersion.com git-scm.com/book try.github.com git man pages (git help, git help [command]) github.com/Gazler/githug

Slide 34

Slide 34 text

thanks! @dellsystem