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.9k
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
Building GoReleaser - from shell script to paid product
caarlos0
0
3.9k
Serving TUIs over SSH with Go
caarlos0
0
1.6k
construindo uma carreira com opensource
caarlos0
0
430
Introdução ao GoReleaser
caarlos0
0
1.1k
Intro to GoReleaser
caarlos0
0
1.1k
Intro to GoReleaser
caarlos0
0
1.6k
Gerenciando Projetos OpenSource
caarlos0
0
1.5k
GoReleaser: Lessons Learned (hacktoberfest)
caarlos0
0
1.9k
GoReleaser: Lessons Learned
caarlos0
0
2.6k
Other Decks in Programming
See All in Programming
Reduxモダナイズ 〜コードのモダン化を通して、将来のライブラリ移行に備える〜
pvcresin
2
680
CSC509 Lecture 03
javiergs
PRO
0
330
どの様にAIエージェントと 協業すべきだったのか?
takefumiyoshii
2
600
Local Peer-to-Peer APIはどのように使われていくのか?
hal_spidernight
2
450
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
170
Breaking Up with Big ViewModels — Without Breaking Your Architecture (droidcon Berlin 2025)
steliosf
PRO
1
330
開発者への寄付をアプリ内課金として実装する時の気の使いどころ
ski
0
350
株式会社 Sun terras カンパニーデック
sunterras
0
220
CSC509 Lecture 04
javiergs
PRO
0
290
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
180
AIで開発生産性を上げる個人とチームの取り組み
taniigo
0
130
Чего вы не знали о строках в Python – Василий Рябов, PythoNN
sobolevn
0
160
Featured
See All Featured
It's Worth the Effort
3n
187
28k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Why Our Code Smells
bkeepers
PRO
339
57k
Navigating Team Friction
lara
189
15k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
850
Designing Experiences People Love
moore
142
24k
Automating Front-end Workflow
addyosmani
1371
200k
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?