From 678e950b6dcb786473bf5c5e0d097cfc1e6bfbfa Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 20 Mar 2014 10:38:53 +0900 Subject: [PATCH] Use --reverse option in fco example (#29) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ .*//") }