最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - How to find specific branch details only using version of the jar? - Stack Overflow

programmeradmin0浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

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

发布评论

评论列表(0)

  1. 暂无评论