Vim逃亡:Gblame reblame选项
发布时间:2020-12-16 01:28:29 所属栏目:安全 来源:网络整理
导读:我最近一直在使用Fugitive的Gblame,但不太明白“reblame”的作用. 有人可以更清楚地描述这些选项的作用: - reblame at commit ~ reblame at [count]th first grandparent P reblame at [count]th parent (like HEAD^[count]) 将reblame视为导航到提交然后对
我最近一直在使用Fugitive的Gblame,但不太明白“reblame”的作用.
有人可以更清楚地描述这些选项的作用: - reblame at commit ~ reblame at [count]th first grandparent P reblame at [count]th parent (like HEAD^[count])
将reblame视为导航到提交然后对您的文件或git责备运行责备< commit> – < file>
> – 最简单的情况.使用光标下的提交并重新启动文件. 对于常见情况,即没有[count],?和P是等价的. (注意[count]默认为1) 从git帮助gitrevisions获取的快速修订教程: Here is an illustration,by Jon Loeliger. Both commit nodes B and C are parents of commit node A. Parent commits are ordered left-to-right. G H I J / / D E F | / | / | |/ | B C / / A A = = A^0 B = A^ = A^1 = A~1 C = A^2 = A^2 D = A^^ = A^1^1 = A~2 E = B^2 = A^^2 F = B^3 = A^^3 G = A^^^ = A^1^1^1 = A~3 H = D^2 = B^^2 = A^^^2 = A~2^2 I = F^ = B^3^ = A^^3^ J = F^2 = B^3^2 = A^^3^2 要了解有关git修订符号的更多信息,请参阅: > 有关git blame的更多帮助,请参阅git help blame (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- angularjs – ng-change获取新值和原始值
- 在AngularJs 1.7.2中使用NgRef降级Angular 5组件
- Scala和.NET – 运行良好?一些经历?现状
- 第八篇Bootstrap下拉菜单实例代码
- bash – Unix find -exec:为什么以下行为有所不
- Vim Ultisnips – 如何移动到下一个占位符或tabs
- 浅析BootStrap Treeview的简单使用
- Vim:缩进一个空格(不是shiftwidth空格)
- angularjs – 如何使用mousedown.dragselect事件
- Hacking with Angular:如何在深层嵌套ngRepeat中
热点阅读