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テクニック / Gunma.web#47
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuji Yamaguchi
December 04, 2022
Technology
360
0
Share
明日使えるかもしれないGitテクニック / Gunma.web#47
Yuji Yamaguchi
December 04, 2022
More Decks by Yuji Yamaguchi
See All by Yuji Yamaguchi
Oxcを導入して開発体験が向上した話
yug1224
4
230
EMからICへのキャリアチェンジの壁とその越え方
yug1224
5
260
Cursor Subagentsはいいぞ
yug1224
2
180
EMからICへ、二周目人材としてAI全振りのプロダクト開発で見つけた武器
yug1224
5
1.3k
Oxlintはいいぞ
yug1224
5
3.2k
Figma + Storybook + PlaywrightのMCPを使ったフロントエンド開発
yug1224
13
6.3k
メンバーの成長速度にバフをかける1on1ミーティング / 2024-12-06
yug1224
25
13k
強みを伸ばすキャリアデザイン
yug1224
3
570
インターンと盛り上げる全社員参加型Advent Calendarの作り方 / 2024-02-22-QiitaNight
yug1224
1
170
Other Decks in Technology
See All in Technology
OpenClawとHermesAgentでAI新入社員を作った話
takanoriyanada
0
140
GitHub Copilot CLIでWebアクセシビリティを改善した話
tomokusaba
0
120
OpenID Connectによるサービス間連携
takesection
0
130
なぜハノーバーメッセに行くべきなのか 〜初参加だから語れること〜
tanakaseiya
0
160
Strands Agents超入門
kintotechdev
1
130
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
290
テストコードのないプロジェクトにテストを根付かせる
tttol
0
220
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
270
Oracle Cloud Infrastructure:2026年5月度サービス・アップデート
oracle4engineer
PRO
1
220
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
0
110
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
300
Cloud Run のアップデート 触ってみる&紹介
gre212
0
210
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Invisible Side of Design
smashingmag
302
52k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
370
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
540
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
800
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
Chasing Engaging Ingredients in Design
codingconduct
0
200
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Transcript
明⽇使えるかもしれない Gitテクニック Yuji Yamaguchi/@yug1224 Gunma.web#47
▸ ヤマグチ ユウジ(34) ▸ Tw: @yug1224 ▸ フロントエンドエンジニア ▸ 三児の⽗
▸ 11歳、9歳、1歳 ▸ 最近の興味 ▸ ホームオートメーション ▸ Gunma.web ▸ #28以来5年ぶり ⾃⼰紹介 2 ▸ 2011年04⽉ 通信系企業 ▸ Webコンテンツサービスの開発運⽤ ▸ 2016年01⽉ ネット広告系企業 ▸ 広告配信管理システムの開発運⽤ ▸ 2016年10⽉ ITサービス企業 ▸ 飲⾷店向け予約台帳システムの開発 ▸ 2021年10⽉ SaaS企業 ▸ 勤怠管理システムの開発 ▸ 2022年08⽉ HRTech企業 ▸ エンジニアリングマネージャー
Gitで使われる⽇付 ▸ Author Date ▸ コミットの著者であるauthorによるcommit⽇付 ▸ GIT_AUTHOR_DATE / git
commit --date=<date>で任意の⽇時を指定できる ▸ git logで表⽰される情報はこちら ▸ Committer Date ▸ コミットを取り込んだ⼈を表すcommitterによるcommit⽇付 ▸ GIT_COMMITTER_DATE / git rebase / git commit --amendで変更される ▸ git log --pretty=fullerオプションで表⽰できる 3
GitHubで使われる⽇付 ▸ GitHubの草はCommitter Dateが表⽰されている ▸ git rebase / git commit
--amendで他者のcommitを変更しても表⽰される 4
もしかして? ▸ --committer-date-is-author-dateでCommitter DateをAuthor Dateと同期できる ▸ これを繰り返せば無限に草を⽣やせるのでは?🤔 5
6 DEMO https://github.com/YuG1224/kusa
まとめ Gitで使われる⽇付は、Author Date / Commit Dateの2種類 git commit --date /
git rebase --committer-date-is- author-date で改竄することができる denoで外部コマンドを利⽤するときは、--allow-runで権限付与を⾏う deno 1.28からnpmライブラリを標準で利⽤できるようになった kusaを⽣やすときは、⽤法⽤量を守って、正しくお使いください 7
8 EOF