DEV Community

Discussion on: Smarter git checkout with fzf

Collapse
 
anunayasri profile image
Anunaya Srivastava

Hi Kyle. Thanks for sharing. I am been searching a solution to efficiently checkout a branch. This is looks super useful and I am going to integrate this into my workflow. :)

May I suggest a small modification. Using git branch --sort=-committerdate returns a sorted list of branches based on the commit date. No need to scan the full list. Recent branches are at the top.