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
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
480
複雑なドメインに挑む.pdf
yukisakai1225
5
1.1k
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
10
3.9k
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
6
2.4k
🔨 小さなビルドシステムを作る
momeemt
4
680
AI時代のUIはどこへ行く?
yusukebe
18
8.8k
AWS発のAIエディタKiroを使ってみた
iriikeita
1
180
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
320
Swift Updates - Learn Languages 2025
koher
2
470
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
740
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
850
Featured
See All Featured
Balancing Empowerment & Direction
lara
3
620
Art, The Web, and Tiny UX
lynnandtonic
303
21k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Rails Girls Zürich Keynote
gr2m
95
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Statistics for Hackers
jakevdp
799
220k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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