Gitified by valentin bora

47
Get ready to be Gitied Valentin Bora Geek,

description

Introducere in Git, pentru GeekMeet Timisoara #12.

Transcript of Gitified by valentin bora

Page 1: Gitified by valentin bora

Get ready to be Giti!ed

Valentin Bora

Geek,

Page 2: Gitified by valentin bora

$ whoami

Page 3: Gitified by valentin bora

freelance web developer

nederland

@valentinbora

Student laComputing & Psychology

[email protected]

Page 4: Gitified by valentin bora

încă un tool?

Page 5: Gitified by valentin bora

dacă n-ar "nu s-ar povesti

Page 6: Gitified by valentin bora

VCSVersionControlSystem

Page 7: Gitified by valentin bora

Câțiva jucători

Page 8: Gitified by valentin bora

CVS

SVN

GitBazaarMercurial

the players

Page 9: Gitified by valentin bora

Today’s villain

Subversion

Page 10: Gitified by valentin bora

Subversion

Aaaaargh...

I kill you!

Page 11: Gitified by valentin bora

Subversion

are timpca-n Ardeal

Page 12: Gitified by valentin bora

Subversion

./translations

./translations/.svn

./translations/.svn/all-wcprops

./translations/.svn/entries

./translations/.svn/prop-base

./translations/.svn/prop-base/en.mo.svn-base

./translations/.svn/prop-base/nl.mo.svn-base

./translations/.svn/props

./translations/.svn/text-base

./translations/.svn/text-base/en.mo.svn-base

./translations/.svn/text-base/en.po.svn-base

./translations/.svn/text-base/nl.mo.svn-base

./translations/.svn/text-base/nl.po.svn-base

./translations/.svn/tmp

./translations/.svn/tmp/prop-base

./translations/.svn/tmp/props

./translations/.svn/tmp/text-base

./translations/en.mo

./translations/en.po

./translations/nl.mo

./translations/nl.po

./verdana.ttf

./views

./views/.DS_Store

./views/.svn

./views/.svn/all-wcprops

./views/.svn/entries

./views/.svn/prop-base

./views/.svn/props

./views/.svn/text-base

./views/.svn/tmp

./views/.svn/tmp/prop-base

./views/.svn/tmp/props

./views/.svn/tmp/text-base

./views/layouts

./views/layouts/.svn

pune.svnin

fiecarefolder

Page 13: Gitified by valentin bora

Subversioncopiază

cod din altproiect

Page 14: Gitified by valentin bora

Subversion

branching is pleasure

NOT!

Page 15: Gitified by valentin bora
Page 16: Gitified by valentin bora

We have a hero

?

Page 17: Gitified by valentin bora

(aplauze)

Page 18: Gitified by valentin bora

Git

Page 19: Gitified by valentin bora

is fastGit

Page 20: Gitified by valentin bora

is greenGit

- nu poluează

Page 21: Gitified by valentin bora

Gitloves branches

Page 22: Gitified by valentin bora

Gitcopy-pasted code

friendly

Page 23: Gitified by valentin bora

Gittrain

friendly

Page 24: Gitified by valentin bora

Git

Page 25: Gitified by valentin bora

CentralisedWorkflow

Page 26: Gitified by valentin bora

Integration managerWorkflow

Page 27: Gitified by valentin bora

Git frenzy

Page 30: Gitified by valentin bora

să fie clargit is not SVN

not an evolution

Page 31: Gitified by valentin bora

let’s get dirty

Page 32: Gitified by valentin bora

set up shop$ git config --global user.name "Geek"$ git config --global user.email [email protected]

Page 33: Gitified by valentin bora

attack of the clones$ git clone ssh://[email protected]/~/geekmeet.git

Page 34: Gitified by valentin bora
Page 35: Gitified by valentin bora

now push$ git push origin master

Page 36: Gitified by valentin bora

now pull$ git pull

Page 37: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 38: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 39: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 40: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 41: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 42: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 43: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 44: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 45: Gitified by valentin bora

other stuff

$ git mergetool

$ git checkout -b branchy$ git checkout master$ git merge branchy$ git svn clone repo-url --trunk=trunk --branches=branches --tags=tags$ git status$ git reset HEAD <file>$ git checkout -- <file>

Page 46: Gitified by valentin bora

Întrebări

?