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
1.3k
Serving TUIs over SSH with Go
caarlos0
0
1.4k
construindo uma carreira com opensource
caarlos0
0
410
Introdução ao GoReleaser
caarlos0
0
1.1k
Intro to GoReleaser
caarlos0
0
1.1k
Intro to GoReleaser
caarlos0
0
1.5k
Gerenciando Projetos OpenSource
caarlos0
0
1.5k
GoReleaser: Lessons Learned (hacktoberfest)
caarlos0
0
1.9k
GoReleaser: Lessons Learned
caarlos0
0
2.5k
Other Decks in Programming
See All in Programming
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
120
ゲームの物理
fadis
5
1.1k
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
1
670
可変性を制する設計: 構造と振る舞いから考える概念モデリングとその実装
a_suenami
10
1.7k
A Gopher's Guide to Vibe Coding
danicat
0
150
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
Infer入門
riru
4
1.5k
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
600
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
370
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.9k
[DevinMeetupTokyo2025] コード書かせないDevinの使い方
takumiyoshikawa
2
280
AI時代のドメイン駆動設計-DDD実践におけるAI活用のあり方 / ddd-in-ai-era
minodriven
18
7k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
69
4.8k
The Pragmatic Product Professional
lauravandoore
36
6.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Documentation Writing (for coders)
carmenintech
73
5k
How to train your dragon (web standard)
notwaldorf
96
6.2k
How STYLIGHT went responsive
nonsquared
100
5.7k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
4 Signs Your Business is Dying
shpigford
184
22k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Become a Pro
speakerdeck
PRO
29
5.5k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
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?