GITT (part 1 of 2)

41
cretìno [kre'tino] agg., s.m. Git

description

A presentation about introduction to git that I gave at a local school in Italy for both teachers and students–alike.

Transcript of GITT (part 1 of 2)

Page 1: GITT (part 1 of 2)

cretìno [kre'tino] agg., s.m.

Git

Page 2: GITT (part 1 of 2)

GITTGit per Istituto Tecnico Tecnologico

Page 3: GITT (part 1 of 2)

Oggi: LezioneTeoria, CLT & GUI per Windows/Mac

Page 4: GITT (part 1 of 2)

Prox1: PraticaCode Hosting, Collaborazione

1) 😉

Page 5: GITT (part 1 of 2)

Ali Servet Dönmez (github.com/exalted)

Page 6: GITT (part 1 of 2)

I want you!

Page 7: GITT (part 1 of 2)

Appello!

Page 8: GITT (part 1 of 2)

Modalità sfida!

Page 9: GITT (part 1 of 2)
Page 10: GITT (part 1 of 2)
Page 11: GITT (part 1 of 2)
Page 12: GITT (part 1 of 2)
Page 13: GITT (part 1 of 2)
Page 14: GITT (part 1 of 2)
Page 15: GITT (part 1 of 2)
Page 16: GITT (part 1 of 2)
Page 17: GITT (part 1 of 2)

DefinizioneUno strumento distribuito, disconnesso e veloce

per la gestione non lineare del codice sorgente che “funziona.”

Page 18: GITT (part 1 of 2)

DefinizioneUno strumento distribuito, disconnesso e veloce

per la gestione non lineare del codice sorgente che “funziona.”

Page 19: GITT (part 1 of 2)

CLU/CLI/CLT

Page 20: GITT (part 1 of 2)

Centralizzato

Page 21: GITT (part 1 of 2)

Distribuito!

Page 22: GITT (part 1 of 2)

Disconnesso.

Page 23: GITT (part 1 of 2)

Lineare.

Page 24: GITT (part 1 of 2)

Non lineare.

Page 25: GITT (part 1 of 2)
Page 26: GITT (part 1 of 2)

$ git help$ git help <comando>

Page 27: GITT (part 1 of 2)

$ git config --global user.name “…” $ git config --global user.email “…”

Page 28: GITT (part 1 of 2)

$ git init

Page 29: GITT (part 1 of 2)
Page 30: GITT (part 1 of 2)

$ git add <file>

Page 31: GITT (part 1 of 2)
Page 32: GITT (part 1 of 2)

$ git commit $ git commit -m“<descrizione>”

Page 33: GITT (part 1 of 2)
Page 34: GITT (part 1 of 2)

$ git log

Page 35: GITT (part 1 of 2)

$ git status

Page 36: GITT (part 1 of 2)

$ git branch $ git branch <nome> $ git branch <nome> <origine> $ git branch -d <nome>

Page 37: GITT (part 1 of 2)

$ git checkout <branch>

Page 38: GITT (part 1 of 2)

$ git diff <commit> $ git diff <commit> <commit>

Page 39: GITT (part 1 of 2)

$ git merge <branch>

Page 40: GITT (part 1 of 2)

Conflitti… 😢

Page 41: GITT (part 1 of 2)

Link Utili• git-scm.com

(Il riferimento assoluto = noioso, ma utile) • mac.github.com o windows.github.com

(La modalità più facile per installare Git & GitHub GUI per Mac e Windows) • git-scm.com/download/gui

(GUI per tutti gli sistemi operativi) • try.github.io

(Prova git direttamente nel browser) • gitreal.codeschool.com

(Video corso gratuito con gli esercizi, direttamente nel browser) • help.github.com

(Un po’ di aiuto pratico, sia per Git sia per GitHub)