
CI/CD
文章平均质量分 71
CI/CD, GIt, Maven Jenkins等
粗体鱼
纸上得来终觉浅,绝知此事要躬行
展开
-
maven父POM依赖管理-dependencies和dependencyManagement
父pom管理中,dependencies 下引用的maven 依赖,默认被其子模块全部依赖,其子模块不用显示引用优点:所有的子模块,不用再次引用,公用父模块的引用和版本号管理缺点:子模块引用冗余,对于自己不需要引用的包,也会被引用过来dependencyManagement 管理:父pom通过dependencyManagement管理,引用相关maven依赖后,子模块需...原创 2019-07-22 10:19:27 · 3979 阅读 · 0 评论 -
spirngboot项目.mvn/wrapper/maven-wrapper.properties‘ does not exist.
Exception in thread "main" java.lang.RuntimeException: Wrapper properties file '~/.mvn/wrapper/maven-wrapper.properties' does not exist. at org.apache.maven.wrapper.WrapperExecutor.forWrapperPropertiesFile(WrapperExecutor.java:54)原创 2022-11-21 04:15:57 · 4739 阅读 · 0 评论 -
git stash save -a 之殇: already exists, no checkout,Could not restore untracked files from stash entry
之前一直用git stash 和git stash pop 命令,缓存暂不提交的文件,昨天有个紧急事情,想给暂存的文件一个信息标识,于是临时查询了git stash save -a "message标识信息" 命令。切换分支处理完事情之后,再各种git stash pop 和git stash apply 命令,出现了如题的提示:***** already exists, no checkout,Could not restore untracked files from stash en...原创 2020-06-13 20:12:23 · 2787 阅读 · 0 评论 -
git 多次merge并commit后如何撤销merge过的分支
背景:两个需求的分支,DEV_A和DEV_B,计划B是要在A之后上线的,两个分支开发的过程中,B分支多次merge A分支的代码,并同时commit代码到A分支。最后由于项目变动,需要B分支线上线,就出现了怎么从B分支的代码中剔除A分支的代码的问题?[捂脸哭]长话短说,直接给方案吧,用git的以下两个命令1、git log –pretty=oneline | grep "DEV_A"过滤出merge的DEV_A分支 提交的log, 用一行展示每次提交的commit id 和 提交注释..原创 2020-05-19 10:15:33 · 1830 阅读 · 0 评论