3 lines
185 B
Fish
3 lines
185 B
Fish
function fcr --description 'Git reset to a selected commit using fzf'
|
|
git reset $argv (git log --pretty=oneline --abbrev-commit --color=always | fzf --ansi +s | awk '{print $1}')
|
|
end
|