摘要: 1. find . 查看目录中所有对象 2. find .git/objects 查看所有对象 3. git cat-file -p 散列值 输出文件内容 阅读全文
posted @ 2016-10-18 14:22 梦见舟 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. http://www.cnblogs.com/xionggeclub/p/5972538.html?ref=myread 2. http://xue.jikexueyuan.com/zhiye/course/21/ke/19/lesson/342/page/1876.html 3. htt... 阅读全文
posted @ 2016-10-18 11:26 梦见舟 阅读(84) 评论(0) 推荐(0) 编辑
摘要: https://git-scm.com/book/zh/v2 阅读全文
posted @ 2016-10-18 11:15 梦见舟 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 本文转自:http://blog.csdn.net/xlgen157387/article/details/50353317 仅做记录之用,如有涉及到个人权限问题请及时联系我 mjz_javaDev@163.com 阅读全文
posted @ 2016-10-18 10:58 梦见舟 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑