Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.32k stars 96 forks source link

Git branches sort by last visited[Q] #259

Open timsofteng opened 2 years ago

timsofteng commented 2 years ago

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

Aloxaf commented 2 years ago

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.