summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 25020b9c..b8fc8909 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/ .*//")
}