Processing math: 25%
随笔 - 458  文章 - 0  评论 - 11  阅读 - 39万
12 2015 档案
Git CMD - show: Show various types of objects
摘要:命令格式git show [options] …​实例a) 查看某次提交的信息gitshowb)gitremoteshoworiginc)tag git show 更多http://git-scm.com/docs/git-show 阅读全文
posted @ 2015-12-31 17:18 huey2672 阅读(217) 评论(0) 推荐(0) 编辑
Git CMD - pull: Fetch from and integrate with another repository or a local branch
摘要:命令格式git pull [options] [ […​]]命令参数-q, --quiet 安静模式。-v, --verbose 详情模式。实例a)下载远程仓库的 master 分支,并与本地的当前仓库合并。$ git pull origin master更多http://git-scm.com... 阅读全文
posted @ 2015-12-31 16:07 huey2672 阅读(308) 评论(0) 推荐(0) 编辑
Git CMD - fetch: Download objects and refs from another repository
摘要:命令格式git fetch [] [ […​]]git fetch [] git fetch --multiple [] [( | )…​]git fetch --all []命令参数--dry-run 不执行任何操作,只显示将会发生什么。-v, --verbose 详情模式。实例a)下载远程... 阅读全文
posted @ 2015-12-31 15:51 huey2672 阅读(284) 评论(0) 推荐(0) 编辑
Git CMD - remote: Manage set of tracked repositories
摘要:命令格式git remote [-v | --verbose]git remote add [-t ] [-m ] [-f] [--[no-]tags] [--mirror=] git remote rename git remote remove git remote set-head (-... 阅读全文
posted @ 2015-12-31 14:42 huey2672 阅读(311) 评论(0) 推荐(0) 编辑
Git CMD - push: Update remote refs along with associated objects
摘要:命令格式git push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=] [--repo=] [-f | --force] [--prune] [-v... 阅读全文
posted @ 2015-12-31 14:35 huey2672 阅读(471) 评论(0) 推荐(0) 编辑
Git CMD - log: Show commit logs
摘要:命令参数git log [] [] [[\--] …​]命令参数--since=, --after= 显示自指定日期后的日志。--until=, --before= 显示在指定日期前的日志。实例a) 显示提交日志。 git logb) 单行显示日志。 git log --pretty=one... 阅读全文
posted @ 2015-12-31 13:43 huey2672 阅读(423) 评论(0) 推荐(0) 编辑
Git CMD - merge: Join two or more development histories together
摘要:命令格式git merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit] [-s ] [-X ] [-S[]] [--[no-]rerere-autoupdate] [-m ] […​]git merge HEAD... 阅读全文
posted @ 2015-12-31 13:27 huey2672 阅读(307) 评论(0) 推荐(0) 编辑
Git CMD - checkout: Switch branches or restore working tree files
摘要:命令格式git checkout [-q] [-f] [-m] []git checkout [-q] [-f] [-m] --detach []git checkout [-q] [-f] [-m] [--detach] git checkout [-q] [-f] [-m] [[-b|-B|--... 阅读全文
posted @ 2015-12-31 13:25 huey2672 阅读(313) 评论(0) 推荐(0) 编辑
Git CMD - branch: List, create, or delete branches
摘要:命令格式git branch [--color[=] | --no-color] [-r | -a] [--list] [-v [--abbrev= | --no-abbrev]] [--column[=] | --no-column] [(--merged | ... 阅读全文
posted @ 2015-12-31 11:39 huey2672 阅读(407) 评论(0) 推荐(0) 编辑
Git CMD - reset: Reset current HEAD to the specified state
摘要:命令格式git reset [-q] [] [--] …​git reset (--patch | -p) [] [--] […​]git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] []命令格式-- soft 回... 阅读全文
posted @ 2015-12-31 10:08 huey2672 阅读(424) 评论(0) 推荐(0) 编辑
Git CMD - rm: Remove files from the working tree and from the index
摘要:命令格式git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] …​命令参数-f, --force 强制删除。-r 递归删除目录及其内容。-- cached 从暂存区移除文件,不再跟踪文件,工作区... 阅读全文
posted @ 2015-12-30 19:16 huey2672 阅读(410) 评论(0) 推荐(0) 编辑
Git CMD - mv: Move or rename a file, a directory, or a symlink
摘要:命令格式git mv [-v] [-f] [-n] [-k] git mv [-v] [-f] [-n] [-k] ... 命令参数-f, --force 即使目标文件存在也强制重命名或移动文件。-k 当移动或重命名操作会导致错误发生时则跳过。-n, --dry-run 不执行任何操作,仅... 阅读全文
posted @ 2015-12-30 19:15 huey2672 阅读(407) 评论(0) 推荐(0) 编辑
Git CMD - commit: Record changes to the repository
摘要:命令格式 git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend] [--dry-run] [(-c | -C | --fixup | --squash) <commit>] [-F <file> | -m <m 阅读全文
posted @ 2015-12-30 18:21 huey2672 阅读(282) 评论(0) 推荐(0) 编辑
Git CMD - diff: Show changes between commits, commit and working tree, etc
摘要:命令格式git diff [options] [] [--] […​]git diff [options] --cached [] [--] […​]git diff [options] [--] […​]git diff [options] git diff [options] [--no-... 阅读全文
posted @ 2015-12-30 17:43 huey2672 阅读(495) 评论(0) 推荐(0) 编辑
Git CMD - status: Show the working tree status
摘要:命令参数git status […​] [--] […​]命令格式--short, -s 短格式输出。-- long 长格式输出,默认选项。实例a) 查看工作树的状态[huey@huey-K42JE hello_git]$ git status# On branch masternothing ... 阅读全文
posted @ 2015-12-30 15:20 huey2672 阅读(318) 评论(0) 推荐(0) 编辑
Git CMD - add: Add file contents to the index
摘要:命令格式git add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p] [--edit | -e] [--[no-]all | --[no-]ignore-remov... 阅读全文
posted @ 2015-12-30 14:43 huey2672 阅读(352) 评论(0) 推荐(0) 编辑
Git CMD - clone: Clone a repository into a new directory
摘要:命令格式git clone [--template=] [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror] [-o ] [-b ] [-u ] [--reference ] [--dissocia... 阅读全文
posted @ 2015-12-30 13:59 huey2672 阅读(600) 评论(0) 推荐(0) 编辑
Git CMD - init: Create an empty Git repository or reinitialize an existing one
摘要:命令格式git init [-q | --quiet] [--bare] [--template=] [--separate-git-dir ] [--shared[=]] [directory]命令参数--quiet, -q 安静模式,只打印错误和警告信息。实例a) 创建... 阅读全文
posted @ 2015-12-30 11:35 huey2672 阅读(1528) 评论(0) 推荐(0) 编辑
Git CMD - config: Get and set repository or global options
摘要:命令参数--get获取指定的配置项。--global对于写选项:全局配置,将参数配置于~/.gitconfig 而不是仓库目录下的.git/config。对于读选项:只从~/.gitconfig 文件中读取配置。--local 对于写选项:将参数配置于仓库目录下的.git/config,这是默认的... 阅读全文
posted @ 2015-12-30 10:51 huey2672 阅读(627) 评论(0) 推荐(0) 编辑
Table of Contents - Git
摘要:Downloading and Installing Git Download for Linux and Unix Integration with Eclipse Eclipse 提交工程至 GitHub Cheat Sheet Setup and Config config help Gett 阅读全文
posted @ 2015-12-29 11:40 huey2672 阅读(400) 评论(0) 推荐(0) 编辑
Log4j(1.2.17) - hello world
摘要:1. Maven 依赖 log4j log4j 1.2.17 2. 配置log4j.propertieslog4j.rootLogger = warn, STDOUT, DEBUG, ERROR## Consolelog4j.appender.... 阅读全文
posted @ 2015-12-29 10:41 huey2672 阅读(760) 评论(0) 推荐(0) 编辑
Git - Download for Linux and Unix
摘要:It is easiest to install Git on Linux using the preferred package manager of your Linux distribution.Debian/Ubuntu apt-get install gitFedora yum ins... 阅读全文
posted @ 2015-12-28 22:19 huey2672 阅读(501) 评论(0) 推荐(0) 编辑
正则表达式
摘要:元字符与转义正则表达式的元字符包括:^ . [ ] { } - ? * + ( ) | \元字符有着特殊的意义,当需要取消元字符的特殊含义时,需要在元字符之前加上反斜线字符 \。锚^ 和 在正则表达式中被当作锚,其中 ^ 匹配字符串的起始位置,$ 匹配字符串的结束位置。任意字符. 匹配除 \... 阅读全文
posted @ 2015-12-24 20:17 huey2672 阅读(314) 评论(0) 推荐(0) 编辑
jQuery.Hotkeys - lets you watch for keyboard events anywhere in your code supporting almost any key combination
摘要:AboutjQuery Hotkeys is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key comb... 阅读全文
posted @ 2015-12-23 16:31 huey2672 阅读(247) 评论(0) 推荐(0) 编辑
HTML - 键盘事件
摘要:Keyboard 事件onkeydown:在用户按下按键时触发。onkeypress:在用户敲击按钮时触发。onkeyup:当用户释放按键时触发。示例 KeyCode KeyCode 阅读全文
posted @ 2015-12-17 16:46 huey2672 阅读(602) 评论(0) 推荐(0) 编辑
Mousetrap - Keyboard shortcuts in Javascript
摘要:Mousetrap is a simple library for handling keyboard shortcuts in Javascript.It is around 2kb minified and gzipped and 4.5kb minified, has no external ... 阅读全文
posted @ 2015-12-15 20:48 huey2672 阅读(460) 评论(0) 推荐(0) 编辑
设计模式 - 适配器模式
摘要:适配器模式:将一个类的接口,转换成客户期望的另一个接口。适配器让原本接口不兼容的类可以合作无间。应用场景假设已有一个软件系统,你希望它能和一个新的厂商类库搭配使用,但是这个新厂商所设计出来的接口不同于旧厂商的接口:你不想改变现有的代码,解决这个问题(而且你也不能改变厂商的代码)。所以该怎么做?你可以... 阅读全文
posted @ 2015-12-01 10:21 huey2672 阅读(258) 评论(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

点击右上角即可分享
微信分享提示