2021-12-10 11:09:44 +01:00
|
|
|
function fcr --description 'Git reset to a selected commit using fzf'
|
2022-04-12 14:11:50 +02:00
|
|
|
git reset $argv (git log --pretty=oneline --abbrev-commit --color=always | fzf --ansi +s | awk '{print $1}')
|
2021-12-10 11:09:44 +01:00
|
|
|
end
|