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
acomagu
October 21, 2019
Programming
2
110
あなたの知らない(かもしれない)Git
191021 Yamashou会
acomagu
October 21, 2019
Tweet
Share
More Decks by acomagu
See All by acomagu
Stripe SSoT をするべきか否か
acomagu
0
47
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
83
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
80
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
270
Stripe リコンサイルの勘所
acomagu
0
450
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.1k
AWS CDK を支える Constructs について
acomagu
0
170
DDDとは結局何なのか
acomagu
0
300
API Gateway HTTP API について
acomagu
0
140
Other Decks in Programming
See All in Programming
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
440
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
210
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
320
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
260
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
110
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
120
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
380
エンジニア向け採用ピッチ資料
inusan
0
160
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
510
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Building Applications with DynamoDB
mza
95
6.5k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Balancing Empowerment & Direction
lara
1
370
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Music & Morning Musume
bryan
46
6.6k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Optimizing for Happiness
mojombo
379
70k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
Transcript
あなたの知らない (かもしれない) Git 2 @acomagu 伊藤勇希 191021 #Yamashou会
> man $USER - @acomagu (あこまぐ) - s1230004 - お年寄り(どうか年齢を計算しないでください
) - 最近の趣味: 音ゲー / VTuber - 最近好きな技術: Go / TypeScript / Linux
@ HEAD の alias e.g. $ git reset @
git diff --color-moved コードの移動を色付け表示する log 等でもつかえる
None
git diff master.. C..F で「C と F の分岐元から F まで」
を表す ↑は git diff $(git merge-base master @) に同じ log 等割とどこでもつかえる man git-rev-parse を見てみてください!
git diff --ignore-space-change インデントだけの変更を無視する 全 Lisper が歓喜した機能(らしい)
git diff git diff --ignore-space-change
git rebase -i -r/--rebase-merges マージコミットを保持したまま rebase をする -p/--preserve-merges に変わる機能 以下:
github.com/acomagu/material-conflict
None
None
None
None
None
git rerere コンフリクトの解決方法を覚えておいてくれる $ git config --global rerere.enable true 全員すべき!!!
None
None
None
まとめ - @ HEAD のエイリアス - git log --color-moved コードの移動を色付け表示する
- git diff master.. ブランチを切ったときからのdiff - git diff --ignore-space-changes インデントだけの変更を無視 - git rebase --rebase-merges rebase 時にマージコミットを復元する - git rerere コンフリクトの解決方法を覚えてくれる
Thanks!