diff --git a/README.md b/README.md index 25020b9..b8fc890 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ fbr() { # fco - checkout git commit fco() { local commits commit - commits=$(git log --pretty=oneline --abbrev-commit) && + commits=$(git log --pretty=oneline --abbrev-commit --reverse) && commit=$(echo "$commits" | fzf +s +m -e) && git checkout $(echo "$commit" | sed "s/ .*//") }