I have a Spring Boot project that is getting model data from a different Java library project. Someone added changes to the Java library and added that version to the main Spring Boot project, but fot to merge the library changes to the main branch of the library.
Later, they fot the branch details and the library has a lot of branches. Is there any way to find related library branch details only using the bundled Java library JAR file version?
I have a Spring Boot project that is getting model data from a different Java library project. Someone added changes to the Java library and added that version to the main Spring Boot project, but fot to merge the library changes to the main branch of the library.
Later, they fot the branch details and the library has a lot of branches. Is there any way to find related library branch details only using the bundled Java library JAR file version?
Share Improve this question edited Feb 3 at 9:19 Mark Rotteveel 109k229 gold badges156 silver badges220 bronze badges asked Feb 3 at 8:55 Manoj MadushankaManoj Madushanka 4613 gold badges9 silver badges23 bronze badges1 Answer
Reset to default 0I found the way to do it using below command.
git grep -n "[my-lib-version]" $(git for-each-ref --format="%(refname:short)" refs/remotes/origin/)
replace my-lib-version with your jar file version