wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.32k stars 136 forks source link

Allow configuration of checkout_branch branch command #307

Closed tapayne88 closed 1 year ago

tapayne88 commented 1 year ago

Check list

Description

Love the project! I'm using it to replace some scripts I'd hand rolled doing roughly the same thing!

However, I was hoping to use checkout_branch to quickly swap between recent branches. To do this I'd like to pass --sort=-committerdate to the git branch command to sort them by most recent commit.

Type of change

Test environment

carlfriedrich commented 1 year ago

Thanks for your contribution @tapayne88. That sounds super useful indeed! I won't have time for a detailed check within the next two weeks, though, @cjappl.

cjappl commented 1 year ago

Cool, I’ll test sometime next week and merge it then!

On Sun, May 14, 2023 at 7:58 AM, Tim @.***(mailto:On Sun, May 14, 2023 at 7:58 AM, Tim < wrote:

Thanks for your contribution @.(https://github.com/tapayne88). That sounds super useful indeed! I won't have time for a detailed check within the next two weeks, though, @.(https://github.com/cjappl).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

cjappl commented 1 year ago

Great addition. Thanks for the contribution