fboender/multi-git-status

flag remote branches that are ahead of remote master

Opened this issue · 3 comments

rmbar commented

It would be nice if I could set a flag to report when a remote branch is ahead of remote master. This tells me when my release branches have a bugfix that I have forgotten to merge into my main development branch.

How would you go about this manually? As far as I know there's no way to know if a remote branch was branched off the master (or any other) branch. Would we have to add some way to manually configure which branches should be checked against which branches?

rmbar commented

I normally determine this on one of the github panels, but I found a SO post about how I can be done locally.

https://stackoverflow.com/a/27940027

One way could be to only check a subset of branches, like all those starting with “feature/*” as in git-flow.

Of course not hard coded, but enabling such a glob-like pattern as an input to such an argument.

Would be good to be able to configure target branch as well. In my case I often want to check if ‘master’ has been pushed to ‘release’