Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Aprenda git e contribua em projetos Open Source
Search
Guilherme Ferreira
January 29, 2013
Programming
1
170
Aprenda git e contribua em projetos Open Source
Oficina realizada durante a Campus Party 2013
Guilherme Ferreira
January 29, 2013
Tweet
Share
More Decks by Guilherme Ferreira
See All by Guilherme Ferreira
4 atitudes para melhorar a agilidade de uma empresa. Na prática.
guilffer
3
140
Other Decks in Programming
See All in Programming
Discover Metal 4
rei315
2
100
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
830
NPOでのDevinの活用
codeforeveryone
0
460
XP, Testing and ninja testing
m_seki
3
220
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
520
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
390
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
260
GraphRAGの仕組みまるわかり
tosuri13
8
500
技術同人誌をMCP Serverにしてみた
74th
1
450
童醫院敏捷轉型的實踐經驗
cclai999
0
200
Systèmes distribués, pour le meilleur et pour le pire - BreizhCamp 2025 - Conférence
slecache
0
110
Featured
See All Featured
Making Projects Easy
brettharned
116
6.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
The Art of Programming - Codeland 2020
erikaheidi
54
13k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
The Invisible Side of Design
smashingmag
300
51k
Why Our Code Smells
bkeepers
PRO
337
57k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
What's in a price? How to price your products and services
michaelherold
246
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
A Tale of Four Properties
chriscoyier
160
23k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Transcript
Aprenda git e contribua em projetos Open Source Guilherme Ferreira
Thursday, January 31, 13
? Thursday, January 31, 13
Objetivo ‣ Não vamos codificar ‣ Vamos usar vários comandos
do git ‣ Vamos conhecer como funciona o processo de contribuição no github Thursday, January 31, 13
Antes de qualquer coisa... Thursday, January 31, 13
$ sudo apt-get install git-core curl Instalar git: $ \curl
-L https://get.rvm.io | bash -s stable --ruby Instalar rvm / ruby 1.9.3: Instalações Thursday, January 31, 13
Thursday, January 31, 13
O que é git? ‣ SCM distribuído ‣ Snapshots /
Deltas Thursday, January 31, 13
Github Thursday, January 31, 13
•Social Coding •3.000.000+ Usuários •5.000.000+ Repositórios •Alternativas: Bitbucket, Gitlab... Github
Thursday, January 31, 13
Para que utilizar git/github? ‣ Código Fonte ‣ Blog ‣
Leis ‣ Textos Thursday, January 31, 13
Para que utilizar git/github? ‣ Código Fonte ‣ Blog ‣
Leis ‣ Textos Thursday, January 31, 13
Como funciona? Blob Blob Tree Blob Tree Commit Tag Thursday,
January 31, 13
Como funciona? C1 master HEAD $ git init $ git
commit Thursday, January 31, 13
Como funciona? C1 C2 master HEAD $ git commit Thursday,
January 31, 13
Como funciona? C1 C2 C3 master HEAD $ git commit
Thursday, January 31, 13
Como funciona? C1 C2 C3 master feature HEAD $ git
checkout -b feature Thursday, January 31, 13
Como funciona? C1 C2 C3 master C4 feature HEAD $
git commit Thursday, January 31, 13
Como funciona? C1 C2 C3 C5 master C4 feature HEAD
$ git checkout master $ git commit Thursday, January 31, 13
Como funciona? C1 C2 C3 C5 master C4 feature C6
HEAD $ git checkout feature $ git commit Thursday, January 31, 13
Como funciona? C1 C2 C3 C5 master C4 feature C6
C7 $ git checkout master $ git merge feature HEAD Thursday, January 31, 13
Como funciona? C1 C2 $ git clone C3 C4 C7
C5 C6 Thursday, January 31, 13
Como funciona? C1 C2 $ git clone C3 C4 C7
C5 C6 C1 C2 C3 C4 C7 C5 C6 Thursday, January 31, 13
Como funciona? C1 C2 $ git pull C3 C5 C1
C2 C3 C4 C7 C5 Local Remoto Thursday, January 31, 13
Como funciona? C1 C2 $ git pull C3 C5 C1
C2 C3 C4 C7 C5 Local Remoto C4 C7 Thursday, January 31, 13
Como funciona? C1 C2 $ git push C3 C5 C1
C2 C3 C5 Local Remoto C4 C7 Thursday, January 31, 13
Como funciona? C1 C2 $ git push C3 C5 C1
C2 C3 C4 C7 C5 Local Remoto C4 C7 Thursday, January 31, 13
Porque utilizar? ‣ Fácil ‣ Simples ‣ leve ‣ Muito
Rápido Thursday, January 31, 13
Comandos mais utilizados ‣ $ git init ‣ $ git
add ‣ $ git status ‣ $ git commit ‣ $ git log ‣ $ git checkout ‣ $ git branch ‣ $ git merge ‣ $ git pull ‣ $ git push Thursday, January 31, 13
Como contribuir em projetos ‣ Fork ‣ Clone ‣ Commiting
‣ Push ‣ Pull Request Thursday, January 31, 13
Obrigado! Guilherme Ferreira
[email protected]
Thursday, January 31, 13