dotfiles/fish/.config/fish/functions/fcR.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
180 B
Fish
Raw Normal View History

function fcR --description 'Git revert a selected commit using fzf'
git revert (git log --pretty=oneline --abbrev-commit --color=always | fzf --ansi +s | awk '{print $1}')
end