Skip to content
Myr

Use --reverse option in fco example (#29)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 9ea651f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.md+1 added-1 removed
170 unmodified lines
171172# fco - checkout git commit173fco() {174 local commits commit175 commits=$(git log --pretty=oneline --abbrev-commit) &&175 commits=$(git log --pretty=oneline --abbrev-commit --reverse) &&176 commit=$(echo "$commits" | fzf +s +m -e) &&177 git checkout $(echo "$commit" | sed "s/ .*//")178}179
190 unmodified lines