3 lines
178 B
Fish
3 lines
178 B
Fish
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
|