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
ワイガヤLT会 #2:gitの「めんどくさい」を解決
Search
Aki Nakahara
June 26, 2025
0
7
ワイガヤLT会 #2:gitの「めんどくさい」を解決
Aki Nakahara
June 26, 2025
Tweet
Share
More Decks by Aki Nakahara
See All by Aki Nakahara
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
110
Rubyらしさとは?
akinko_0915
0
9
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
For a Future-Friendly Web
brad_frost
179
9.8k
Navigating Team Friction
lara
187
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Embracing the Ebb and Flow
colly
86
4.7k
Done Done
chrislema
184
16k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Transcript
gitの「めんどくさい」を解決 Akinko presented by 26th in June ワイガヤLT会 🌻
自己紹介 Classi 株式会社 新卒エンジニア Ruby で日記を書くことはじめました (MyGemDays) Akinko Podcast 「前向くラジオ」やってます
( 更新できるように頑張ります…) 古着好きです。ユニークな柄な感じじゃなくて、質が高くて状態が良い服を見つけるのが好き 最近、南アジアの料理、Dal をレシピ見ずに作れるようになった
git 使うときこう思ったことありませんか?
git のコマンド覚えるのめんどくさい
例えば… git push --force-with-lease origin < ブランチ名>
え、覚えれない覚えれない
コミットメッセージ、早く綺麗に書きたい
例えば… fix: < 修正したこと> add: < 新しく追加した機能やファイル> refactor: < リファクタリングしたところ>
接頭辞のパターンを決めたい
いちいち合う単語調べてる暇ない
git のコマンド覚えるのめんどくさい コミットメッセージ、早く綺麗に書きたい
git のコマンド覚えるのめんどくさい git alias ( エイリアス) が解決!
git alias ( エイリアス) コマンドに別名をつけることができる git push --force-with-lease origin <
ブランチ名> g pushf origin < ブランチ名> これなら覚えられる!
git alias ( エイリアス) 設定方法 git config --global alias.pushf ’push
--force-with-lease’ git config --global alias.< 別名> < オリジナルのコマンド> git config --global alias.commit com
コミットメッセージ、早く綺麗に書きたい commit.template が解決!
commit.template コミットメッセージのテンプレートを設定できる 何をしたかが一目でわ かるコミットになるね
commit.template の設定方法 ① テンプレートファイルをつくる ② テンプレートを設定する git config --local commit.template
< ファイル名>
実演します 🎉