sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 185 下一页

2022年11月1日

摘要: git checkout命令详解 git checkout feature/test123 //切换到feature/test123分支 保证当前分支没有修改提交,否则回提示error: Your local changes to the following files would be overw 阅读全文
posted @ 2022-11-01 10:13 sunny123456 阅读(596) 评论(0) 推荐(0)

摘要: git提交指定文件 git add git commit git stash pop git提交指定文件,如果此时修改了其他代码,可先提交指定代码,然后忽略不想提交的代码,最后push之后,恢复之前忽略的代码 1 git status 查看仓库状态 2 git add src/components/ 阅读全文
posted @ 2022-11-01 09:02 sunny123456 阅读(328) 评论(0) 推荐(0)

2022年10月31日

摘要: git pull报错:There is no tracking information for the current branch 报错: There is no tracking information for the current branch. Please specify which b 阅读全文
posted @ 2022-10-31 18:23 sunny123456 阅读(477) 评论(0) 推荐(0)

摘要: git pull提示当前branch没有跟踪信息 There is no tracking information for the current branch 使用第二种方法,设置本地repository和远程repository关联 在执行git pull的时候,提示当前branch没有跟踪信息 阅读全文
posted @ 2022-10-31 18:21 sunny123456 阅读(369) 评论(0) 推荐(0)

2022年10月28日

摘要: 菜鸟教程 Git 基本教程 https://www.runoob.com/git/git-basic-operations.html 阅读全文
posted @ 2022-10-28 11:47 sunny123456 阅读(345) 评论(0) 推荐(0)

摘要: git提交指定文件 如果配合IDEA操作,改动文件自动add。 使用命令行 git status 查看仓库状态, git commit src/main/java/com/test01.java src/main/java/com/test01.java -m "commit注释" 即可保存到本地 阅读全文
posted @ 2022-10-28 11:45 sunny123456 阅读(249) 评论(0) 推荐(0)

摘要: git commit 多文件(提交指定文件) 命令里面多文件需要带文件路径 ,就是 status 里面查询出来的文件路径 git commit 多文件 在项目中一个文件夹下,若想提交其中的几个文件可做如下操作: 前提:文件已经被git add过加入版本管理,使用 git status 可查看仓库状态 阅读全文
posted @ 2022-10-28 11:38 sunny123456 阅读(431) 评论(0) 推荐(0)

2022年10月27日

摘要: 怎样用git命令去切换分支?1、清屏 clear 2、查看远程分支 git branch -a 3、查看本地分支 git branch 4、切换分支 git checkout -b feature-1.0.12-fix origin/feature-1.0.12-fix 如果有直接 git chec 阅读全文
posted @ 2022-10-27 17:32 sunny123456 阅读(151) 评论(0) 推荐(0)

摘要: IDEA下maven项目Plugins和Dependencies红线,maven找不大依赖jar包,检查IDEA配置的maven仓储地址,查看是否有对应jar包。更新maven,重启更新缓存IDEA IDEA最全总结100篇(VIP典藏版) 目录 一、问题 二、方法1 三、方法2 四、方法3 一、问 阅读全文
posted @ 2022-10-27 12:52 sunny123456 阅读(452) 评论(0) 推荐(0)

摘要: 【IDEA】idea的项目 build之后编译生成的文件在什么路径 Project Structrue→Modules->点击自己的项目,->右侧点击Paths->下面的Output里面就是你的编译完成文件放置的目录 可以通过下面的方式查看 Modules->点击自己的项目,->右侧点击Paths- 阅读全文
posted @ 2022-10-27 12:43 sunny123456 阅读(2003) 评论(0) 推荐(0)

上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 185 下一页