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
Começando com Git
Search
Carlos Alexandro Becker
March 06, 2014
Programming
1
3.7k
Começando com Git
Começando com Git @ II Joinville Software Meetup
Carlos Alexandro Becker
March 06, 2014
Tweet
Share
More Decks by Carlos Alexandro Becker
See All by Carlos Alexandro Becker
construindo uma carreira com opensource
caarlos0
0
270
Introdução ao GoReleaser
caarlos0
0
980
Intro to GoReleaser
caarlos0
0
930
Intro to GoReleaser
caarlos0
0
1.3k
Gerenciando Projetos OpenSource
caarlos0
0
1.4k
GoReleaser: Lessons Learned (hacktoberfest)
caarlos0
0
1.8k
GoReleaser: Lessons Learned
caarlos0
0
2.3k
Go 1.10 Release Party @ Joinville Go Meetup
caarlos0
0
2k
Monitoring @ ContaAzul
caarlos0
0
2.1k
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
320
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
900
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
Zoneless Testing
rainerhahnekamp
0
120
return文におけるstd::moveについて
onihusube
1
1k
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Being A Developer After 40
akosma
87
590k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Writing Fast Ruby
sferik
628
61k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
YesSQL, Process and Tooling at Scale
rocio
169
14k
Code Reviewing Like a Champion
maltzj
520
39k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Transcript
C O M E Ç A N D O C
O M
Carlos Alexandro Becker Software Engineer @ ContaAzul OpenSource guy
Blogs at carlosbecker.com Git user since 2010
C O M E Ç A N D O C
O M
POR QUE USAR GIT?
HISTÓRIA
EM 2005…
• Linux vs CVS/SVN/BitLocker • Patches por todos os lados
• Time distribuído • Desenvolvimento não linear • VCS's Lentos
POUQUÍSSIMA GENTE SE IMPORTA…
JÁ EM 2008…
None
None
VANTAGENS
•Rápido •Distribuído •Customizável
•Light branches •Code Review •Tests, Coverage e etc
None
GIT VS GITHUB Distributed Version Control System Web-based Git Hosting
Service
GIT VS SVN Nearly all operations are local Still working………………
http://goo.gl/VerooZ
CHECKOUT CLONE &
UPDATE PULL &
ADD ADD &
COMMIT PUSH &
$ SVN COMMIT
$ GIT COMMIT && GIT PUSH
LOG LOG DIFF DIFF STATUS STATUS BLAME BLAME &
MERGE REBASE ARCHIVE MV RM GREP RESET FETCH …
DAILY WORKFLOW
• Criar/Obter/Atualizar Repositório • Criar branch • Alterações + Commits
• Sincronizar com o Repositorio Remoto • Criar e mergear Pull Request
$ mkdir repo && cd $_ $ git init
$ git clone url $ cd repo
$ git checkout master $ git pull origin master
$ git checkout -b feature-xyz
$ git add changed-file.js $ git commit -m ‘changed a
file’
$ git push origin feature-xyz
None
None
None
None
$ git checkout master $ git pull origin master
$ echo "done"
None
PERGUNTAS?