Open axsuul opened 5 years ago
It would need to be incorporated into the _scmb_git_branch_shortcuts
function. This might be nice hidden behind an environmental flag, such that your gb
shortcut either uses it or it doesn't based on the env variable setting.
@ghthor Happy to make a PR for this. Any suggestions on what the environment flag should be?
SCM_BREEZE_FORCE_GIT_BRANCH
?
@axsuul How about GIT_BRANCH_SORT_COMMITER_DATE
, if you find any time to PR this, no judgement, just a little nudge =)
I have an issue with lots of branches and sorting by last commit makes everything more sane. But it appears that
--sort=committerdate
is not an argument that scm_breeze recognizes so doing something likeuses the vanilla
git
command without numbered aliases. What's the best way to go about getting numbered alias support with the--sort
argument? I've triedAnd thank you for this great tool!