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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
EMからICへのキャリアチェンジの壁とその越え方
yug1224
5
230
Cursor Subagentsはいいぞ
yug1224
2
170
EMからICへ、二周目人材としてAI全振りのプロダクト開発で見つけた武器
yug1224
5
970
Oxlintはいいぞ
yug1224
5
3k
Figma + Storybook + PlaywrightのMCPを使ったフロントエンド開発
yug1224
13
6.2k
メンバーの成長速度にバフをかける1on1ミーティング / 2024-12-06
yug1224
25
13k
強みを伸ばすキャリアデザイン
yug1224
3
570
インターンと盛り上げる全社員参加型Advent Calendarの作り方 / 2024-02-22-QiitaNight
yug1224
1
170
2022ランキング圏外から2023ランキング入りを実現したテックブログ運営について / 2023-07-28-QiitaEngineerFesta
yug1224
1
200
Other Decks in Technology
See All in Technology
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
150
雑談は、センサーだった
bitkey
PRO
2
200
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
250
Databricks Academic Series 〜 大規模言語モデル / エージェント編 〜 / academic-series-llm
databricksjapan
0
110
AIが自律的に働く時代へ Amazon Quick で実現するAIエージェント紹介
koheiyoshikawa
0
180
大学職員のための生成AI最前線 :最前線を、AIガバナンスとして読み直すためのTips
gmoriki
2
3.6k
フロントエンドの相手が変わった - AIが加わったWebの新しいインターフェース設計
azukiazusa1
33
10k
The 7 pitfalls of AI
ufried
0
190
ファインディの事業拡大を支える 拡張可能なデータ基盤へのリアーキテクチャ
hiracky16
0
900
AI와 협업하는 조직으로의 여정
arawn
0
590
Agent の「自由」と「安全」〜未来に向けて今できること〜
katayan
0
340
「QA=テスト」「シフトレフト=スクラムイベントの参加者の一員」の呪縛を解く。アジャイルな開発を止めないために、10Xで挑んだ「右側のしわ寄せ」解消記 #scrumniigata
nihonbuson
PRO
3
880
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
120
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
220
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
290
Discover your Explorer Soul
emna__ayadi
2
1.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Optimizing for Happiness
mojombo
378
71k
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