{"id":1729,"date":"2019-04-29T23:08:37","date_gmt":"2019-04-29T15:08:37","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1729"},"modified":"2019-05-02T22:58:28","modified_gmt":"2019-05-02T14:58:28","slug":"gitview","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/gitview","title":{"rendered":"gitview\u547d\u4ee4 – \u67e5\u770b\u6587\u4ef6\u5185\u5bb9"},"content":{"rendered":"\n

gitview\u7684\u547d\u4ee4\u5168\u79f0\u4e3a\u201cgnu interactie tools viewer\u201d\u3002\u8be5\u547d\u4ee4\u7528\u4e8e\u67e5\u770b\u6587\u4ef6\u5185\u5bb9\u3002 \u5f53\u4f7f\u7528gitview\u547d\u4ee4\u67e5\u770b\u6587\u4ef6\u5185\u5bb9\u65f6\uff0c\u4f1a\u540c\u65f6\u663e\u793a\u5341\u516d\u8fdb\u5236\u548cASCII\u683c\u5f0f\u7684\u5b57\u7b26\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>gitview [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-b<\/td>\u5355\u8272\u6a21\u5f0f\uff0c\u4e0d\u4f7f\u7528ANSI\u63a7\u5236\u7801\u663e\u793a\u5f69\u8272<\/td><\/tr>
-c<\/td>\u5f69\u8272\u6a21\u5f0f\uff0c\u4f7f\u7528ANSI\u63a7\u5236\u7801\u663e\u793a\u8272\u5f69<\/td><\/tr>
-i<\/td>\u663e\u793a\u5b58\u653egitview\u7a0b\u5e8f\u7684\u6240\u5728\u4f4d\u7f6e<\/td><\/tr>
-l<\/td>\u4e0d\u4f7f\u7528\u5148\u524d\u7684\u663e\u793a\u5b57\u7b26<\/td><\/tr>
-h<\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4ee5\u5f69\u8272\u6a21\u5f0f\u89c2\u770b\u6307\u5b9a\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gitview -c \/home\/linuxcool\/file.txt<\/pre>\n\n\n\n

\u4ee5\u5355\u8272\u6a21\u5f0f\u89c2\u770b\u6307\u5b9a\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# gitview -b \/home\/linuxcool\/file.txt<\/pre>\n\n\n\n

\u663e\u793a\u5b58\u653egitview\u7a0b\u5e8f\u7684\u6240\u5728\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gitview -i<\/pre>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

gitview\u7684\u547d\u4ee4\u5168\u79f0\u4e3a\u201cgnu interactie tools viewer\u201d\u3002\u8be5\u547d\u4ee4\u7528\u4e8e\u67e5\u770b\u6587\u4ef6\u5185\u5bb9\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1729"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=1729"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1729\/revisions"}],"predecessor-version":[{"id":1863,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1729\/revisions\/1863"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}