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
Done Done
chrislema
186
16k
Six Lessons from altMBA
skipperchong
29
4.5k
Building the Perfect Custom Keyboard
takai
2
870
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
580
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
850
Side Projects
sachag
456
43k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
520
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
Everyday Curiosity
cassininazir
0
320
Speed Design
sergeychernyshev
33
2.1k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
280
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