I really like custom selectors when designing custom commands. However, I have found that while there are custom selectors for branches, there are no custom selectors for repositories.
So, if you have two remote repositories to push to, it is currently not possible to code something like git push origin2 main
without hardcoding origin2
into the custom command.
It would be great if something like $select_remote_branch
but for repositories like $select_remote_repository
so that you can have custom commands like this
git push $select_remote_repository $select_local _branch