Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag remote branches that are ahead of remote master #29

Open
rmbar opened this issue Jan 30, 2020 · 3 comments
Open

flag remote branches that are ahead of remote master #29

rmbar opened this issue Jan 30, 2020 · 3 comments

Comments

@rmbar
Copy link

rmbar commented Jan 30, 2020

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.

@fboender
Copy link
Owner

fboender commented Feb 1, 2020

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
Copy link
Author

rmbar commented Feb 1, 2020

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

@voxpelli
Copy link

voxpelli commented Feb 3, 2020

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’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants