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
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
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
400
(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
4.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
680
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
340
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
770
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
2.9k
My daily life on Ruby
a_matsuda
3
200
空間オーディオの活用
objectiveaudio
0
150
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
100
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
The Language of Interfaces
destraynor
162
26k
Marketing to machines
jonoalderson
1
5.2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
210
Typedesign – Prime Four
hannesfritz
42
3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
210
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Context Engineering - Making Every Token Count
addyosmani
9
870
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
240
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!