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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
930
Fluid Templating in TYPO3 14
s2b
0
130
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
AI巻き込み型コードレビューのススメ
nealle
0
140
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
2026年 エンジニアリング自己学習法
yumechi
0
130
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
CSC307 Lecture 04
javiergs
PRO
0
660
Featured
See All Featured
HDC tutorial
michielstock
1
360
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
WCS-LA-2024
lcolladotor
0
450
GitHub's CSS Performance
jonrohan
1032
470k
Ethics towards AI in product and experience design
skipperchong
2
190
Thoughts on Productivity
jonyablonski
74
5k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Designing for Timeless Needs
cassininazir
0
130
Faster Mobile Websites
deanohume
310
31k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
My Coaching Mixtape
mlcsv
0
46
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 :)