tig常用命令
作者:
5z | 来源:发表于
2019-08-20 14:31 被阅读0次$ tig [options] [revisions] [--] [paths]
$ tig show [options] [revisions] [--] [paths]
$ tig log [options] [revisions] [--] [paths]
$ tig blame [options] [rev] [--] [paths]
$ tig grep [options] [pattern]
$ tig refs
$ tig stash
$ tig status
$ tig < [Git command output]
// 比较两个分支, 会展示在test中不在master中的提交
$ tig test..master
// 展示多个分支的提交
$ tig test master
// 查看指定日期提交
$ tig --after='2019-08-10' --before='2019-08-20'
// 查看某个文件的提交
$ tig FILE
// 查看某个文件的更改信息
$ tig blame -- FILE
本文标题:tig常用命令
本文链接:https://www.haomeiwen.com/subject/lvlpsctx.html
网友评论