Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Aprenda git e contribua em projetos Open Source
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Guilherme Ferreira
January 29, 2013
Programming
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Aprenda git e contribua em projetos Open Source
Oficina realizada durante a Campus Party 2013
Guilherme Ferreira
January 29, 2013
Transcript
30 slides
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
More Decks by Guilherme Ferreira
See All by Guilherme Ferreira
4 atitudes para melhorar a agilidade de uma empresa. Na prática.
guilffer
3
150
Other Decks in Programming
See All in Programming
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
320
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
760
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
190
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
570
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
180
From Java 8-11 to Java 21-27 — Benefits, Challenges, and a Practical Migration Path
x5gtrn
PRO
0
110
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
230
AI-Powered Domain-Driven Design
ziobrando
0
450
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.2k
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6k
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Everyday Curiosity
cassininazir
0
400
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
530
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
750
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
810
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
570
ラッコキーワード サービス紹介資料
rakko
5
5.8M
Building Adaptive Systems
keathley
44
3.3k