Switch To A Recent Branch With FZF
Git and FZF make a powerful team. Once you've installed FZF on your machine, there are all kinds of add-on scripts that you can include in your shell configuration.
This one, for instance, is a personal favorite.
When you run the fbr
command from your shell, FZF will compile a list of the most recently committed to branches (including remote branches). That list will then be available in a standard FZF prompt so that you can choose the branch you want to switch to.
Last updated