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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Felipe Renan
June 06, 2018
Programming
3
61
Git
Introdução ao Git e Github.
Felipe Renan
June 06, 2018
Tweet
Share
More Decks by Felipe Renan
See All by Felipe Renan
Elixir - Tic Tac Toe
feliperenan
0
45
Elixir metaprogramming
feliperenan
0
44
Other Decks in Programming
See All in Programming
CSC307 Lecture 06
javiergs
PRO
0
680
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
110
CSC307 Lecture 07
javiergs
PRO
0
550
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
120
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Vibe codingでおすすめの言語と開発手法
uyuki234
0
220
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
高速開発のためのコード整理術
sutetotanuki
1
380
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
480
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
0
220
The Cult of Friendly URLs
andyhume
79
6.8k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
Building Applications with DynamoDB
mza
96
6.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Marketing to machines
jonoalderson
1
4.6k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
76
The Curse of the Amulet
leimatthew05
1
8.2k
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 :)