{"id":1277,"date":"2022-09-28T14:32:23","date_gmt":"2022-09-28T06:32:23","guid":{"rendered":"https:\/\/www.mustenaka.cn\/?p=1277"},"modified":"2022-10-01T21:43:59","modified_gmt":"2022-10-01T13:43:59","slug":"gitkerror-reading-commits-error-switch-expect-a-numerical-value","status":"publish","type":"post","link":"https:\/\/www.mustenaka.cn\/index.php\/2022\/09\/28\/gitkerror-reading-commits-error-switch-expect-a-numerical-value\/","title":{"rendered":"gitk\u62a5\u9519Error reading commits: error: switch &#8216;|&#8217; expect a numerical value"},"content":{"rendered":"<h1>gitk\u62a5\u9519Error reading commits: error: switch &#8216;|&#8217; expect a numerical value<\/h1>\n<p><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2022\/09\/1664346770509-300x114.png\" alt=\"\" width=\"447\" height=\"170\" class=\" wp-image-1279 aligncenter\" srcset=\"https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2022\/09\/1664346770509-300x114.png 300w, https:\/\/www.mustenaka.cn\/wp-content\/uploads\/2022\/09\/1664346770509.png 445w\" sizes=\"(max-width: 447px) 100vw, 447px\" \/><\/p>\n<p>\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\u57fa\u672c\u4e0a\u90fd\u662f Windows\u7cfb\u7edf\u4f7f\u7528 git \u547d\u4ee4\u542f\u52a8 Gitk\uff0c\u4f7f\u7528 gitk -all \u51fa\u73b0\u7684\uff0c\u5b9e\u9645\u4e0aWindows\u4f1a\u628a\u5355\u4e2a\u7684-\u8bc6\u522b\u9519\u8bef\uff08\u6210 &#8216;|&#8217;\uff09\u3010\u4e24\u4e2a&#8217;-&#8216;\u3011<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<blockquote><p>gitk &#8211;all<\/p><\/blockquote>\n<p>\u53e6\u5916\u8fd9\u7bc7\u6587\u7ae0\u4ecb\u7ecdgit branch\u7ba1\u7406\u65b9\u5f0f\uff0c\u8bb2\u7684\u975e\u5e38\u7684nice\uff0c\u94fe\u63a5\u9644\u4e0a\uff1a<a href=\"https:\/\/www.zsythink.net\/archives\/3470\">https:\/\/www.zsythink.net\/archives\/3470<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gitk\u62a5\u9519Error reading commits: error: switch &#8216; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[38],"class_list":["post-1277","post","type-post","status-publish","format-standard","hentry","category-git","tag-git"],"views":998,"_links":{"self":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":5,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"predecessor-version":[{"id":1284,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1277\/revisions\/1284"}],"wp:attachment":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}