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
Git
Search
Felipe Renan
June 06, 2018
Programming
64
3
Share
Git
Introdução ao Git e Github.
Felipe Renan
June 06, 2018
More Decks by Felipe Renan
See All by Felipe Renan
Elixir - Tic Tac Toe
feliperenan
0
51
Elixir metaprogramming
feliperenan
0
47
Other Decks in Programming
See All in Programming
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.2k
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
260
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1k
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
AI時代になぜ書くのか
mutsumix
0
380
【ディップ|26年新卒研修資料】TDD実装演習
dip_tech
PRO
0
180
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
140
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
450
ハーネスエンジニアリングとは?
kinopeee
13
6.9k
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Building AI with AI
inesmontani
PRO
1
980
Art, The Web, and Tiny UX
lynnandtonic
304
21k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
230
Navigating Weather and Climate Data
rabernat
0
190
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Balancing Empowerment & Direction
lara
6
1.1k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Transcript
Carregando…
Felipe Renan feliperenan @feeliperenan
None
None
O que é versionamento?
Em algum momento nós já versionamos algo...
Trabalho
Trabalho Trabalho_final
Trabalho Trabalho_final Trabalho_agora_vai
None
None
Softwares usados para versionamento
História do GIT
Linus Torvalds
Primeiro commit do Git
Alguns conceitos essenciais 16
As operações são efetuadas localmente 17
Git tem integridade 18
O Git, geralmente apenas adiciona dados 19
Git != Github 20
21
Fluxo básico
Adicionar / Modificar arquivos
Selecionar arquivos que entrarão no Commit
“Commitar”
Princípais comandos git init git status git add <arquivo> git
commit git log git push git pull git checkout
Hora do show :)
Branchs
O que são branchs?
Commit 1 Master
Commit 1 Commit 2 Master
Commit 1 Commit 2 Master Commit 3
$ git branch new-branch
Commit 1 Commit 2 Master Commit 3 new-branch
$ git checkout new-branch
Commit 1 Commit 2 Master Commit 3 new-branch Commit 4
Commit 1 Commit 2 Master Commit 3 new-branch Commit 4
Commit 5
$ git checkout master
$ git merge new-branch
Commit 1 Commit 2 Master Commit 3 new-branch Commit 4
Merge Commit Commit 5
Porque devemos utilizar branchs?
Facilita a organização do projeto em equipes
Ajuda a organizar o histórico do Git
Facilita a revisão do trabalho
Dicas
https://github.com/nvie/gitflow
http://ohshitgit.com/
https://github.com/github/hub
Referências • http://ericsink.com/vcbe/html/history_of_version_control.html • http://www.catb.org/~esr/writings/version-control/version-control.html • https://git-scm.com • https://www.linuxfoundation.org/blog/10-years-of-git-an-interview-with- git-creator-linus-torvalds/
Obrigado :)