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
[endless_lt] gitのalias使ってる?[無限LT@3]
Search
yodaaa
September 15, 2019
89
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[endless_lt] gitのalias使ってる?[無限LT@3]
yodaaa
September 15, 2019
More Decks by yodaaa
See All by yodaaa
AWAに配属された新卒1年目が 大型機能や新規画面を開発できるようになるまで
yodaaa
0
270
わたしのおうち時間
yodaaa
0
83
OPENRECで内定者バイトしたまとめ。
yodaaa
0
5.7k
[endless_lt] 就活もUXの時代![無限LT@3]
yodaaa
1
170
[endless_lt] シャツインしてる男、 正直ダサくない?[無限LT@3]
yodaaa
1
180
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How to make the Groovebox
asonas
2
2.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
350
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
170
Optimizing for Happiness
mojombo
378
71k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
550
Abbi's Birthday
coloredviolet
3
8.3k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
2
250
Music & Morning Musume
bryan
47
7.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
170
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
Transcript
gitでalias使ってる? 01
・圧倒的になまけもの ・簡単に設定できる! ・でも、案外設定してないひとおおい! 話そうと思った経緯
git push -u origin masterとか、 git checkout masterとかタイプするのって 正直めんどくさくないですか? >_<
そこで、git alias!
これだけで、git checkout が git c だけでOKになります!
すごい!
まだ、めんどくさい!
git cってとかタイプするのって 正直めんどくさくないですか? >_<
bashのひとは、~/.bash_profile zshのひとは、~/.zprofile に aliasをかこう!! ex) alias g=“git" shellの設定ファイル
これで、g c を入力すると、 git checkout master が実行される!!
すごい!
[alias] b = branch st = status i = init
a = add c = checkout cm = checkout master com = commit -m p = push -u origin master open=!open $(git remote --verbose | head -n 1 | awk '{ print $2 }’) l = log --graph --date=short --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%x09%s %C(red)%d%Creset\" la = log --oneline --decorate --graph --branches --tags --remotes わたしのalias