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
100
あなたの知らない(かもしれない)Git
191021 Yamashou会
acomagu
October 21, 2019
Tweet
Share
More Decks by acomagu
See All by acomagu
Stripe SSoT をするべきか否か
acomagu
0
37
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
62
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
62
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
210
Stripe リコンサイルの勘所
acomagu
0
390
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2k
AWS CDK を支える Constructs について
acomagu
0
160
DDDとは結局何なのか
acomagu
0
270
API Gateway HTTP API について
acomagu
0
120
Other Decks in Programming
See All in Programming
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
630
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
6
4k
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
160
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
2
490
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
740
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
170
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
790
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
170
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
330
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
910
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.4k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
RailsConf 2023
tenderlove
29
1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Producing Creativity
orderedlist
PRO
344
39k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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!