Git list merged/unmerged tags -


with 3 primary development branches:

patch minor major 

when create patch release tag patch branch:

git tag -a my-project-1.2.3 -m "this 1.2.3 patch release of project" 

we want port changes forward. example, 1.3.0 minor development branch:

git checkout minor git merge my-project-1.2.3 

and 'very future' 2.0.0 major development branch:

git checkout major git merge my-project-1.2.3 

but... what happens if have performed merge on minor, , forgot merge major? if branch, run:

git branch --no-merged major 

which list branch. but, tags not included in list. how can determine whether tag has been merged branch, or list tags have not been merged specific branch?

you other way around:

git branch --contains **tag** 

lists branches tag merged.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -