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
4k
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
4k
Serving TUIs over SSH with Go
caarlos0
0
1.8k
construindo uma carreira com opensource
caarlos0
0
470
Introdução ao GoReleaser
caarlos0
0
1.2k
Intro to GoReleaser
caarlos0
0
1.2k
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.8k
Other Decks in Programming
See All in Programming
開発に寄りそう自動テストの実現
goyoki
2
1.6k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
210
gunshi
kazupon
1
130
GoLab2025 Recap
kuro_kurorrr
0
790
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
700
Patterns of Patterns
denyspoltorak
0
410
CSC307 Lecture 01
javiergs
PRO
0
650
CSC307 Lecture 03
javiergs
PRO
1
450
チームをチームにするEM
hitode909
0
430
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
150
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
230
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
240
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
2.6k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
61
47k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
400
First, design no harm
axbom
PRO
1
1.1k
Bash Introduction
62gerente
615
210k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
300
Agile that works and the tools we love
rasmusluckow
331
21k
Marketing to machines
jonoalderson
1
4.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
150
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
34
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?