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 forgot to merge the library changes to the main branch of the library.
Later, they forgot 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 forgot to merge the library changes to the main branch of the library.
Later, they forgot 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 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