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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Guilherme Ferreira
January 29, 2013
Programming
170
1
Share
Aprenda git e contribua em projetos Open Source
Oficina realizada durante a Campus Party 2013
Guilherme Ferreira
January 29, 2013
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
cloudnative conference 2026 flyle
azihsoyn
0
170
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
110
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
410
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.1k
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.5k
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
180
空間オーディオの活用
objectiveaudio
0
150
書き換えて学ぶTemporal #fukts
pirosikick
2
370
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
410
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.6k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Writing Fast Ruby
sferik
630
63k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
Scaling GitHub
holman
464
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
The Invisible Side of Design
smashingmag
302
52k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
BBQ
matthewcrist
89
10k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
550
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
44
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
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