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
4.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Começando com Git
Começando com Git @ II Joinville Software Meetup
Carlos Alexandro Becker
March 06, 2014
More Decks by Carlos Alexandro Becker
See All by Carlos Alexandro Becker
Building GoReleaser - from shell script to paid product
caarlos0
0
4.2k
Serving TUIs over SSH with Go
caarlos0
0
2.4k
construindo uma carreira com opensource
caarlos0
0
570
Introdução ao GoReleaser
caarlos0
0
1.3k
Intro to GoReleaser
caarlos0
0
1.3k
Intro to GoReleaser
caarlos0
0
1.8k
Gerenciando Projetos OpenSource
caarlos0
0
1.7k
GoReleaser: Lessons Learned (hacktoberfest)
caarlos0
0
2.1k
GoReleaser: Lessons Learned
caarlos0
0
3k
Other Decks in Programming
See All in Programming
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
660
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
170
数百円から始めるRuby電子工作
tarosay
0
130
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
AIが無かった頃の素敵な出会いの話
codmoninc
1
380
OpenSpecのproposalにbrainstormingを持たせてみた
tigertora7571
1
200
Google Apps Script で Ruby を動かす
kawahara
0
130
VibeCodingからAgenticWorkflowへ
starfish719
0
230
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
200
5分で問診!Composer セキュリティ健康診断
codmoninc
0
860
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
140
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
290
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
Test your architecture with Archunit
thirion
1
2.3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
480
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
250
The Curious Case for Waylosing
cassininazir
1
450
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
sira's awesome portfolio website redesign presentation
elsirapls
0
320
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Bash Introduction
62gerente
615
220k
Writing Fast Ruby
sferik
630
63k
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?