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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
acomagu
October 21, 2019
Programming
110
2
Share
あなたの知らない(かもしれない)Git
191021 Yamashou会
acomagu
October 21, 2019
More Decks by acomagu
See All by acomagu
Payment Records API を使って地域通貨を Stripe Dashboard に統合してみた
acomagu
0
53
Restate x Stripe: 安心して眠れる決済システムを目指して
acomagu
0
14
Stripe SSoT をするべきか否か
acomagu
0
75
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
120
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
160
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
470
Stripe リコンサイルの勘所
acomagu
0
530
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.3k
AWS CDK を支える Constructs について
acomagu
0
190
Other Decks in Programming
See All in Programming
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1k
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5k
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
実用!Hono RPC2026
yodaka
2
310
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
22
12k
Making the RBS Parser Faster
soutaro
0
680
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
190
[RubyKaigi 2026] Require Hooks
palkan
1
310
Building on Bluesky's AT Protocol with Ruby
mackuba
0
110
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
140
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.5k
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
160
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5k
So, you think you're a good person
axbom
PRO
2
2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
210
Site-Speed That Sticks
csswizardry
13
1.2k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Docker and Python
trallard
47
3.8k
Scaling GitHub
holman
464
140k
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!