上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 37 下一页
摘要: 1. 删除文件 git rm a.txt git rm--cached filename 会删除索引中的文件并把它保留在工作目录中 而 git rm 则会将文件从索引和工作目录中都删除 文件删除后的恢复 git checkout HEAD -- filename 2. 文件重命... 阅读全文
posted @ 2016-10-18 10:53 梦见舟 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 将配置文件的路径从项目中移出来 1. 在springApplicationContext中 <context:property-placeholder location="file:${COMMON_PROPERTIES}"/> 2. 在环境变量中添加 COMMON_PROPERTIES=e:/co 阅读全文
posted @ 2016-10-18 10:48 梦见舟 阅读(511) 评论(0) 推荐(0) 编辑
摘要: check the command detail by input 'git command --help' rebase: reset: 阅读全文
posted @ 2016-10-18 08:43 梦见舟 阅读(970) 评论(0) 推荐(0) 编辑
摘要: fatal: Not a valid object name: 'master'. the answer is : That is again correct behaviour. Until you commit, there is no master branch 阅读全文
posted @ 2016-10-17 11:05 梦见舟 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Git error on commit after merge - fatal: cannot do a partial commit during a merge this answer is : git commit -i -m "message" 阅读全文
posted @ 2016-10-17 10:58 梦见舟 阅读(1517) 评论(0) 推荐(0) 编辑
摘要: 1. 初始化仓库 2. 查看当前状态 3. 添加到缓存 4. 提交到仓库 5. 显示提交的日志 6. 创建新分支 7. 切换分支 8. 合并代码 9. 删除分支 10. 为版本打标签 11. 配置提交者信息 阅读全文
posted @ 2016-10-17 10:05 梦见舟 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Git commands 1. start a working area 2. work on the current change 3. examine the history and state 4. grow, mark and tweak your common history 5. col 阅读全文
posted @ 2016-10-16 15:50 梦见舟 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 打开server 的配置界面: 其中 修改on update Action 为 Redeploy On frame deactivation 为Update classes and resources 阅读全文
posted @ 2016-10-15 09:24 梦见舟 阅读(6393) 评论(2) 推荐(2) 编辑
摘要: 1. 查询锁表信息 当前运行的所有事务 当前出现的锁 锁等待的对应关系 2. kill 线程 阅读全文
posted @ 2016-10-14 17:00 梦见舟 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 1. 首先连接远程 redis redis-cli.exe -h 192.168.X.X -p 6379 2. auth XXXXXX 输入密码 3. keys * 4. del login_phone13120002495 阅读全文
posted @ 2016-10-14 10:35 梦见舟 阅读(117) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 37 下一页