Skip to content

Instantly share code, notes, and snippets.

View pierpo's full-sized avatar

Pierre Poupin pierpo

View GitHub Profile
@pierpo
pierpo / .gitconfig
Last active April 25, 2022 12:03
Useful aliases
###############
# 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\"^\"}' \