摘要: 本地有代码时提交至git仓库。修改本地工作空间.git/config文件,添加 [user] name = xxx email = xxx@qq.com 命令git init git add . git commit -m "first commit" git branch -M main git 阅读全文
posted @ 2020-10-29 08:03 Mr_sven 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the 阅读全文
posted @ 2020-10-27 22:16 Mr_sven 阅读(6895) 评论(0) 推荐(1) 编辑
摘要: ①git status:命令用于显示工作目录和暂存区的状态。使用此命令能看到那些修改被暂存到了, 哪些没有, 哪些文件没有被Git tracked到。git status不显示已经commit到项目历史中去的信息。看项目历史的信息要使用git log. ②git add 命令可将该文件添加到暂存区。 阅读全文
posted @ 2020-10-27 08:07 Mr_sven 阅读(96) 评论(0) 推荐(0) 编辑
摘要: ①点击add a new public key,添加一个密钥 ②点击SSH and GPG Keys ③点击generating SSH keys ④点击adding a new ssh key ⑤打开下面2个链接 ⑥右键打开【Git Bash Here】,输入 ssh -keygen -t rsa 阅读全文
posted @ 2020-10-25 09:59 Mr_sven 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 一、进入idea官网选择想要下载的版本 官网版本选择页面: https://www.jetbrains.com/idea/download/other.html IntelliJ IDEA 分为两个版本,分别为:旗舰版(Ultimate)和社区版(Community)。 这里我选择了 2018.3. 阅读全文
posted @ 2020-10-23 08:09 Mr_sven 阅读(12506) 评论(2) 推荐(1) 编辑
摘要: #修改tomcat的端口号server.port=8080 #config view resolver配置前端视图解析器spring.mvc.view.prefix=/pages/#spring.mvc.view.suffix=.jsp #config static resources配置静态资源访 阅读全文
posted @ 2020-09-27 07:52 Mr_sven 阅读(559) 评论(0) 推荐(0) 编辑
摘要: package cn.java.controller; import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;import org. 阅读全文
posted @ 2020-09-25 07:35 Mr_sven 阅读(354) 评论(0) 推荐(0) 编辑
摘要: package cn.java.controller; /* * 单独存在,只存放Springboot的启动程序 */import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfi 阅读全文
posted @ 2020-09-25 07:20 Mr_sven 阅读(274) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-09-24 22:00 Mr_sven 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/PO 阅读全文
posted @ 2020-09-24 21:30 Mr_sven 阅读(135) 评论(0) 推荐(0) 编辑