Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agree I use fzf extensively in my git aliases:

https://github.com/kbd/setup/blob/master/HOME/.config/git/co...

Perfect example: my "cherry pick" alias:

    cp = !git pick-branch | xargs git pick-commits | tac | xargs -t git cherry-pick
Those "pick-" aliases pop up fzf to let me choose a branch, then commits to cherry pick. No more copying hashes anywhere.

Similarly, my alias for git add lets me fzf-select a list of files to stage based on what "git status" reports.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: