- 博客(3)
- 收藏
- 关注
原创 Git 常用命令
命令commandgit configgit commitgit addgit commitgit statusgit diffHEAD HEAD^ HEAD^^git loggit reset --hard commitIdgit reflog工作区、版本库stage,HEAD -> master branchgit 是对修改内容的记录git checkout – file :丢弃工作区的修改git reset HEAD file:将修改从stage 放回工作区删除
2021-08-18 20:54:08
45
原创 Spring Boot关闭 DataSource/Redis 自动配置
maven 子模块会继承父模块的包,但是在一些服务中我们不需要用到数据源,所以关掉spring boot 的自动配置。关闭的方法有两种:yaml /properties 配置注解关闭yamlspring: autoconfigure: exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration注解@SpringBootApplication(exclude = { Dat
2021-03-23 15:57:03
6040
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人