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_peco_tips
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hiroki Kumamoto
June 09, 2015
39
0
Share
git_peco_tips
ミニ勉強会で話したgit + pecoのtips
Hiroki Kumamoto
June 09, 2015
More Decks by Hiroki Kumamoto
See All by Hiroki Kumamoto
How to implement timetable view on iOS
kumabook
0
120
Promiseを実装してみよう
kumabook
0
350
bff_tips.pdf
kumabook
0
100
Tips of server-side rendering with react + redux
kumabook
0
93
プロトコルを使って複数サービスを跨いだmusic playerを実装する
kumabook
2
670
emacs helm likeな WebExtensions を作った話
kumabook
0
180
merges sort
kumabook
0
86
lightweight introducing with reactive cocoa
kumabook
0
68
basic_sort
kumabook
0
76
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
690
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
690
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Transcript
Git + peco tips Hiroki Kumamoto
git ͷࠔΓ͝ͱ • ϒϥϯν͕૿͑Δͱิؒޮ͖ͮΒ͘ͳͬͯɺ git branch ͯ݁͠ՌΛίϐʔͯ͠git checkout ͯ͠... •
cherry-pick͢Δͱ͖ʹίϛοτϋογϡίϐʔͯ͠ ϖʔετͯ͠... ͳͲͳͲ • peco Λ͔ͭ͏ͱ͍͍ײ͡ʹ
peco • https://github.com/peco/peco • Simplistic interactive filtering tool • emacs
Ͱ͍͏anything (helm), macͰ͍͏spotlightͷshellͷ pipeͷ൛ • brew install peco
peco • ΠϯλϥΫςΟϒʹߜΓ͜Έ͕Ͱ͖Δ • branch໊ͱ͔͏Δ֮͑ͰΑ͍ • ྫ o git branch
| peco o git stash list | peco o git log --oneline | peco
ઃఆྫ1: ϒϥϯνʹνΣοΫΞτ alias -g peco_branch='git branch | peco' alias -g
git_checkout='git checkout `peco_branch`' ઃఆྫ2ɿcommitΛcherry-pick alias -g peco_commit='echo_first `git log —branches --no-merges --oneline | peco`' function echo_first { echo $1 } git_cherry-pick='git cherry-pick `peco_commit`'