fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

Git branches sort by last visited[Q]

Open timsofteng opened this issue 3 years ago • 1 comments

Hello. Is it any way to sort list of git local branches by pressing git checkout <TAB> by last visited?

timsofteng avatar Feb 03 '22 14:02 timsofteng

There isn't an easy way to do it. Neither _git(git completion script) nor git cli provide such a function.

You have to look into reflog for branch visit log.

Aloxaf avatar Feb 10 '22 10:02 Aloxaf