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
Faces do Git que você não conhece
Search
Cesar Kawakami
May 13, 2015
Programming
75
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Faces do Git que você não conhece
Talk sobre Git @ Geekie HQ, 13 de maio de 2015.
Cesar Kawakami
May 13, 2015
More Decks by Cesar Kawakami
See All by Cesar Kawakami
TimeZona: Como manter-se são lidando com tempo e timestamps em aplicações Python
cesarkawakami
0
110
Economizando servidores e acelerando aplicações web com Gevent e programação concorrente
cesarkawakami
0
310
pybr2013-lightning-traps
cesarkawakami
0
140
pythonbrasil2013
cesarkawakami
4
760
Other Decks in Programming
See All in Programming
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
1
250
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
480
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
350
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
370
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
260
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
470
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
150
VibeCodingからAgenticWorkflowへ
starfish719
0
320
Android CLI
fornewid
0
210
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.7k
Cloudflare is Agents
chimame
0
150
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
160
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
480
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
780
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.3k
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
Technical Leadership for Architectural Decision Making
baasie
3
470
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
200
How to make the Groovebox
asonas
2
2.3k
Deep Space Network (abreviated)
tonyrice
0
250
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Transcript
Faces do Git que você não conhece Cesar Kawakami
Tópicos • Fiz cagada: como desfazer? • Explique-me submodules! •
Merge conflicts: como não se embananar? • Truques de performance • Projeto “pusher” • Code Review
Desfazendo cagadas
Desfazendo cagadas • Onde você está? • git status •
git merge, git rebase, git cherry-pick, git revert, git bisect…
None
Desfazendo cagadas • Aaah! Dei commit --amend sem querer! •
git rebase • git reset --soft
Desfazendo cagadas • Aaah! Esqueci de splittar o commit! •
git add -p
Desfazendo cagadas • Aaah! Deletei a última branch/tag que apontava
pro commit! • git fsck --lost-found • git reflog
Desfazendo cagadas • Aaah, fiz merge ao invés de rebase!
• git merge --squash
Desfazendo cagadas • In general… • git rebase • git
reset
Submodules
Submodules • Projetos externos no mesmo repo • “ponteiro” para
um sha-1 no subrepo
Submodules • vs subtrees?
Submodules • git submodule update --init --recursive • git submodule
sync --recursive
Merge conflicts
Merge conflicts
None
Merge conflicts • O importante é o commit final ficar
com o diff que você quer!
Merge conflicts • git rerere
Truques de performance
Truques de performance • Clone!
None
None
Truques de performance • Replace? • http://git-scm.com/blog/2010/03/17/ replace.html • git
filter-branch
Projeto “pusher”
Code Review
Links • .gitconfig do panda https:// dl.dropboxusercontent.com/u/158916053/ gitconfig