git ls-remote --h <domain_specific_url>.git 'refs/heads/*'
which lists all the branches created on remote repository.
But I would like to extend this command to use --merged
option, since I would like to get lists of branches which are already merged to develop/master
something like:
git ls-remote --h <domain_specific_url>.git 'refs/heads/*' --merged develop/master
Is this possible?
I could find many solutions, but I don't want to work with cloned repository. I need simply one command which takes repository URL and works.
the good new is that gitbash also provides some usefull Un*x utilities: