Slide 1

Slide 1 text

Thiago Scalone - @Scalone O que é? Do que é feito? Para que server? Git

Slide 2

Slide 2 text

Wecolme Message! The activities of a company associated with buying and selling a product or service that includes advertising, social media, selling products Marketing is based on thinking about the business in terms of customer needs and their satisfaction marketing differs from selling because in the words of the best university of the world.

Slide 3

Slide 3 text

Wecolme Message! The activities of a company associated with buying and selling a product or service that includes advertising, social media, selling products Marketing is based on thinking about the business in terms of customer needs and their satisfaction marketing differs from selling because in the words of the best university of the world.

Slide 4

Slide 4 text

Wecolme Message! The activities of a company associated with buying and selling a product or service that includes advertising, social media, selling products Marketing is based on thinking about the business in terms of customer needs and their satisfaction marketing differs from selling because in the words of the best university of the world.

Slide 5

Slide 5 text

Disclaimer

Slide 6

Slide 6 text

Git

Slide 7

Slide 7 text

Joãozinho

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

WRONG

Slide 13

Slide 13 text

git

Slide 14

Slide 14 text

git git commit -a

Slide 15

Slide 15 text

git git commit -a git pull

Slide 16

Slide 16 text

git git commit -a git pull git push

Slide 17

Slide 17 text

git ?

Slide 18

Slide 18 text

git ctrl + c ctrl + v

Slide 19

Slide 19 text

Mariazinha

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

SUCESSO!

Slide 27

Slide 27 text

MANJA?

Slide 28

Slide 28 text

Conhecimento

Slide 29

Slide 29 text

CONHECIMENTO Conhecimento é o ato ou efeito de conhecer - Wikipédia

Slide 30

Slide 30 text

CONHECIMENTO Conhecimento é o ato ou efeito de conhecer - Wikipédia

Slide 31

Slide 31 text

CONHECIMENTO O conhecimento é objeto escorregadio - Sidney G. Winter

Slide 32

Slide 32 text

Conhecimento Taxonomia do

Slide 33

Slide 33 text

Simon Sinek

Slide 34

Slide 34 text

How great leaders inspire action (2009) Golden Circle

Slide 35

Slide 35 text

How great leaders inspire action (2009) Golden Circle What O que é ou o que é

Slide 36

Slide 36 text

How great leaders inspire action (2009) Golden Circle How Como é feito, processo What O que é ou o que é

Slide 37

Slide 37 text

How great leaders inspire action (2009) Golden Circle Why Porque fazemos algo How Como é feito, processo What O que é ou o que é

Slide 38

Slide 38 text

The learning economy - Lundvall And Johnson (1994)

Slide 39

Slide 39 text

The learning economy - Lundvall And Johnson (1994) Why Porque fazemos algo How Como é feito, processo What O que é ou o que é

Slide 40

Slide 40 text

The learning economy - Lundvall And Johnson (1994) Why Porque fazemos algo How Como é feito, processo Know-What O que é ou o que é

Slide 41

Slide 41 text

The learning economy - Lundvall And Johnson (1994) Why Porque fazemos algo Know-How Como é feito, processo Know-What O que é ou o que é

Slide 42

Slide 42 text

The learning economy - Lundvall And Johnson (1994) Know-Why Porque fazemos algo Know-How Como é feito, processo Know-What O que é ou o que é

Slide 43

Slide 43 text

The learning economy - Lundvall And Johnson (1994) Know-Why Porque fazemos algo Know-How Como é feito, processo Know-What O que é ou o que é Know-Who Conecta pessoas

Slide 44

Slide 44 text

Cleveland Harlan

Slide 45

Slide 45 text

1982 Harlan

Slide 46

Slide 46 text

of Understanding The continuum Cleveland H. "Information as Resource", The Futurist, December 1982 p. 34-39.

Slide 47

Slide 47 text

Conhecimento O continuum do Cleveland H. "Information as Resource", The Futurist, December 1982 p. 34-39.

Slide 48

Slide 48 text

do Conhecimento A continuidade Cleveland H. "Information as Resource", The Futurist, December 1982 p. 34-39.

Slide 49

Slide 49 text

The continuum of Understanding

Slide 50

Slide 50 text

The continuum of Understanding Contexto

Slide 51

Slide 51 text

The continuum of Understanding Contexto Entendimento

Slide 52

Slide 52 text

The continuum of Understanding Contexto Entendimento Recolher partes

Slide 53

Slide 53 text

The continuum of Understanding Contexto Entendimento Recolher partes Conectar partes

Slide 54

Slide 54 text

The continuum of Understanding Contexto Entendimento Recolher partes Conectar partes Formação de um todo

Slide 55

Slide 55 text

The continuum of Understanding Contexto Entendimento Recolher partes Conectar partes Formação de um todo Junção de todos

Slide 56

Slide 56 text

The continuum of Understanding Contexto Entendimento Recolher partes Conectar partes Formação de um todo Junção de todos

Slide 57

Slide 57 text

The continuum of Understanding Contexto Entendimento Recolher partes Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 58

Slide 58 text

The continuum of Understanding Contexto Entendimento Recolher partes Absorção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 59

Slide 59 text

The continuum of Understanding Contexto Entendimento Recolher partes Absorção Aplicação Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 60

Slide 60 text

The continuum of Understanding Contexto Entendimento Recolher partes Absorção Aplicação Interação Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 61

Slide 61 text

The continuum of Understanding Contexto Entendimento Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 62

Slide 62 text

The continuum of Understanding Dado Contexto Entendimento Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 63

Slide 63 text

The continuum of Understanding Dado Informação Contexto Entendimento Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 64

Slide 64 text

The continuum of Understanding Dado Informação Conhecimento Contexto Entendimento Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 65

Slide 65 text

The continuum of Understanding Dado Informação Conhecimento Sabedoria Contexto Entendimento Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 66

Slide 66 text

The continuum of Understanding Dado Informação Conhecimento Sabedoria Contexto Entendimento Past Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 67

Slide 67 text

The continuum of Understanding Dado Informação Conhecimento Sabedoria Contexto Entendimento Past Future Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 68

Slide 68 text

The continuum of Understanding Dado What How Why Contexto Entendimento Past Future Recolher partes Absorção Aplicação Interação Reflecção Conectar partes Formação de um todo Junção de todos Pesquisa

Slide 69

Slide 69 text

322 A.C. Aristótoles

Slide 70

Slide 70 text

Aristótoles What Epistrèmè teórico

Slide 71

Slide 71 text

Aristótoles What How Epistrèmè teórico Technè prática

Slide 72

Slide 72 text

Aristótoles What How Why Epistrèmè teórico Technè prática Phoronesis sabedoria

Slide 73

Slide 73 text

git ?

Slide 74

Slide 74 text

WRONG

Slide 75

Slide 75 text

git git commit -a git pull git push

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

git

Slide 78

Slide 78 text

content-addressable filesystem

Slide 79

Slide 79 text

content-addressable filesystem

Slide 80

Slide 80 text

git key value store

Slide 81

Slide 81 text

git key value store qualquer coisa

Slide 82

Slide 82 text

git key value store qualquer coisa bash

Slide 83

Slide 83 text

git key value store qualquer coisa bash unix FS +/- inode

Slide 84

Slide 84 text

Como?

Slide 85

Slide 85 text

Internals!

Slide 86

Slide 86 text

echo -n "123456" | openssl sha1 7c4a8d09ca3762af61e59520943dc26494f8941b SHA1

Slide 87

Slide 87 text

tree commit blob objects

Slide 88

Slide 88 text

Tree echo 'version 1' > test.txt git add test.txt echo 'version 2' > test.txt git add test.txt new.txt

Slide 89

Slide 89 text

Commit echo 'version 1' > test.txt git add test.txt git commit -m “first commit” echo 'version 2' > test.txt git add test.txt new.txt git commit -m “second commit” echo 'version 3' > test.txt git add test.txt git commit -m “third commit”

Slide 90

Slide 90 text

Commit sha1( commit message => "second commit" commiter => Thiago Scalone commit date => Sat Nov 8 11:13:49 2014 +0100 author => Thiago Scalone author date => Sat Nov 8 11:13:49 2016 +0100 tree => 9c435a86e664be00db0d973e981425e4a3ef3f8d parents => [0d973e9c4353ef3f8ddb98a86e664be001425e4a] )

Slide 91

Slide 91 text

Commit echo 'version 1' > test.txt git add test.txt git commit -m “first commit” echo 'version 2' > test.txt git add test.txt new.txt git commit -m “second commit” echo 'version 3' > test.txt git add test.txt git commit -m “third commit”

Slide 92

Slide 92 text

Blob >> content = "version1” >> header = "blob #{content.length}\0” >> store = header + content >> sha1 = Digest::SHA1.hexdigest(store) >> zlib_content = Zlib::Deflate.deflate(store) >> path = '.git/objects/' + sha1[0,2] + '/' + sha1[2,38] => ".git/objects/bd/9dbf5aae1a3862dd1526723246b20206e5fc37"

Slide 93

Slide 93 text

tag branch remotes Refs

Slide 94

Slide 94 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 95

Slide 95 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 96

Slide 96 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 97

Slide 97 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 98

Slide 98 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 99

Slide 99 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 100

Slide 100 text

.git ʮ── objects │ ʮ── 10 │ │ └── 74bb1f6448d31ee581fe45f51c7d6df19 │ ʮ── 11 │ │ └── 8b6560291dd5d8cf3bf9898c998df7733 │ ʮ── 8b │ │ └── 1b88b09acaa340544d590c0c838f2c14 │ ʮ── ab │ │ └── f6ab114f286392ad2c4601b95986095c0 │ ʮ── c3 │ │ └── b038b5a9c7e5b26dd828ac5d1a615d3 │ ʮ── e6 │ │ └── 9de29bb2d1d6434b8b29ae775ad8c2e

Slide 101

Slide 101 text

.git ʮ── HEAD ʮ── branches ʮ── config ʮ── hooks │ ʮ── pre-commit.sample │ ʮ── pre-push.sample │ └── ... ʮ── info │ └── exclude ʮ── objects │ ʮ── info │ └── pack └── refs ʮ── heads └── tags

Slide 102

Slide 102 text

-- amend

Slide 103

Slide 103 text

Amend sha1( commit message => "second commit" commiter => Thiago Scalone commit date => Sat Nov 8 11:13:49 2014 +0100 author => Thiago Scalone author date => Sat Nov 8 11:13:49 2016 +0100 tree => 9c435a86e664be00db0d973e981425e4a3ef3f8d parents => [0d973e9c4353ef3f8ddb98a86e664be001425e4a] )

Slide 104

Slide 104 text

Rebase Vs Merge

Slide 105

Slide 105 text

Rebase Vs Merge

Slide 106

Slide 106 text

Rebase Vs Merge

Slide 107

Slide 107 text

Gitx e Fragmentação

Slide 108

Slide 108 text

Single branch flow

Slide 109

Slide 109 text

Single branch flow Tudo para master Todos os commits pendentes para review Commits após 2 dias sem review são rejeitados Commit rejeitado para o build

Slide 110

Slide 110 text

git commit -a

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

@scalone Thank you THIAGO SCALONE - [email protected]