08 2017 档案

回滚
摘要:进入git仓库目录 使用git log查看最近修改提交的内容 显示日志比较乱可以使用 git log --pretty=oneline HEAD表示版本 如果发现之前提交的内容有错误,想回退上一个版本可以使用git reset --hard HEAD^ 回退之前的内容: 回退之后的内容: 回退到上上 阅读全文

posted @ 2017-08-17 15:30 默默红尘 阅读(334) 评论(0) 推荐(0) 编辑

提交修改内容的步骤
摘要:在仓库中新建一个文本文件用于测试leaningGit文件 把leaningGit提交: 提交之前先看git status查看当前仓库状态 一般仓库中的文件可能存在于这3种状态: 1)Untracked files → 文件未被跟踪(要跟踪一个新文件,使用命令 git add filename); 2 阅读全文

posted @ 2017-08-16 18:23 默默红尘 阅读(509) 评论(0) 推荐(0) 编辑

创建版本库(仓库)
摘要:repository(仓库)中所有文件都可以被git管理起来,每个文件的修改、删除,git都能记录下来,以便任何时刻都可以追踪历史,或者在将来某个时刻可以恢复。 创建一个版本库非常简单,选择在合适的目录下面创建文件夹: 第一步:创建文件夹 huntdeMacBook-Air:~ hunt$ cd D 阅读全文

posted @ 2017-08-16 17:26 默默红尘 阅读(232) 评论(0) 推荐(0) 编辑

PhoneUtil
摘要:1 package cn.fraudmetrix.octopus.horai.biz.utils; 2 3 import org.springframework.util.StringUtils; 4 5 import java.util.regex.Matcher; 6 import java.u 阅读全文

posted @ 2017-08-11 17:37 默默红尘 阅读(266) 评论(0) 推荐(0) 编辑

Md5Util
摘要:1 package cn.fraudmetrix.octopus.horai.biz.utils; 2 3 import java.security.MessageDigest; 4 import java.security.NoSuchAlgorithmException; 5 6 public 阅读全文

posted @ 2017-08-11 17:32 默默红尘 阅读(174) 评论(0) 推荐(0) 编辑

ListUtil(差集、交集、并集)
摘要:1 package cn.fraudmetrix.octopus.horai.biz.utils; 2 3 import java.util.ArrayList; 4 import java.util.Arrays; 5 import java.util.Collections; 6 import 阅读全文

posted @ 2017-08-11 17:28 默默红尘 阅读(337) 评论(0) 推荐(0) 编辑

文件上传submit、ajax方式
摘要:submit方式: 1 <form id="postForm" name="postForm" action="${rc.contextPath}/backdoor/uploadGroovy/upload" 2 enctype="multipart/form-data" method="post"> 阅读全文

posted @ 2017-08-11 17:02 默默红尘 阅读(402) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示