Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[endless_lt] gitのalias使ってる?[無限LT@3]
Search
yodaaa
September 15, 2019
91
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
280
わたしのおうち時間
yodaaa
0
87
OPENRECで内定者バイトしたまとめ。
yodaaa
0
5.7k
[endless_lt] 就活もUXの時代![無限LT@3]
yodaaa
1
170
[endless_lt] シャツインしてる男、 正直ダサくない?[無限LT@3]
yodaaa
1
180
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
410
Paper Plane
katiecoart
PRO
4
53k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
540
GraphQLとの向き合い方2022年版
quramy
50
15k
We Have a Design System, Now What?
morganepeng
55
8.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
Automating Front-end Workflow
addyosmani
1369
210k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
490
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