This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# Git and fzf # | |
# https://hackernoon.com/be-125-more-efficient-with-git-60556a1ce971#.rnypamia2 | |
[alias] | |
# Starts an interactive rebase by selecting a commit with fzf | |
# "fuzzy rebase" | |
frebase = "!f() { \ | |
git log --pretty=oneline \ | |
| fzf -n 2.. \ | |
| awk '{print $1\"^\"}' \ |