Git输出格式——Git placeholders
来源:互联网 发布:编程安卓手机游戏 编辑:程序博客网 时间:2024/06/05 10:10
git的输出格式,可以极大的方便我们处理输出字符串最好的还是查看官方手册,虽然长,但有用!http://www.kernel.org/pub/software/scm/git/docs/git-show.html[code lang="html"]The placeholders are:%H: commit hash%h: abbreviated commit hash%T: tree hash%t: abbreviated tree hash%P: parent hashes%p: abbreviated parent hashes%an: author name%aN: author name (respecting .mailmap, see git-shortlog(1) or git-blame(1))%ae: author email%aE: author email (respecting .mailmap, see git-shortlog(1) or git-blame(1))%ad: author date (format respects --date= option)%aD: author date, RFC2822 style%ar: author date, relative%at: author date, UNIX timestamp%ai: author date, ISO 8601 format%cn: committer name%cN: committer name (respecting .mailmap, see git-shortlog(1) or git-blame(1))%ce: committer email%cE: committer email (respecting .mailmap, see git-shortlog(1) or git-blame(1))%cd: committer date%cD: committer date, RFC2822 style%cr: committer date, relative%ct: committer date, UNIX timestamp%ci: committer date, ISO 8601 format%d: ref names, like the --decorate option of git-log(1)%e: encoding%s: subject%f: sanitized subject line, suitable for a filename%b: body%B: raw body (unwrapped subject and body)%N: commit notes%gD: reflog selector, e.g., refs/stash@{1}%gd: shortened reflog selector, e.g., stash@{1}%gn: reflog identity name%gN: reflog identity name (respecting .mailmap, see git-shortlog(1) or git-blame(1))%ge: reflog identity email%gE: reflog identity email (respecting .mailmap, see git-shortlog(1) or git-blame(1))%gs: reflog subject%Cred: switch color to red%Cgreen: switch color to green%Cblue: switch color to blue%Creset: reset color%C(…): color specification, as described in color.branch.* config option%m: left, right or boundary mark%n: newline%%: a raw %%x00: print a byte from a hex code%w([[,[,]]]): switch line wrapping, like the -w option of git-shortlog(1).[/code]
- Git输出格式——Git placeholders
- git格式的diff输出内容含义
- git:git commit 书写格式
- 【git】git log 格式设置
- md文档格式 git
- Git commit 注释格式
- Git commit格式 详解
- git diff 格式
- 嵌入式 git输出着色
- 个性化 git log 输出
- git 输出颜色设置
- git log 格式化输出
- 【Git学习】git log自定义格式
- git - git log 限制输出长度
- git学习—git log 和git diff
- git学习——Git 基础要点
- git学习——安装 Git
- git学习——Git分支
- 图片放大镜-Cloud Zoom
- perl正则表达式中的常用模式
- 30款顶级CSS工具及应用-CSDN.NET
- GitHub项目下载链接
- NASA新项目:安卓手机变卫星 | 36氪
- Git输出格式——Git placeholders
- Gitweb源码解析
- perl here document
- Unix的缺陷_王垠_新浪博客
- 怎样写一个解释器_王垠_新浪博客
- Creative Web Typography Styles | Codrops
- JavaScript正则表达式
- FileReader详解与实例---读取并显示图像文件 | JS Mix
- Git的所有命令