{"id":228,"date":"2024-02-14T19:26:10","date_gmt":"2024-02-14T18:26:10","guid":{"rendered":"https:\/\/fixthebugs.com\/?p=228"},"modified":"2024-02-14T19:26:12","modified_gmt":"2024-02-14T18:26:12","slug":"filename-too-long-in-windows","status":"publish","type":"post","link":"https:\/\/fixthebugs.com\/index.php\/2024\/02\/14\/filename-too-long-in-windows\/","title":{"rendered":"Git: filename too long in Windows"},"content":{"rendered":"\n<p><strong>Problem<\/strong>:  Git command returns next error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>filename too long<\/code><\/pre>\n\n\n\n<p><strong>Solution<\/strong>: launch next command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config --system core.longpaths true<\/code><\/pre>\n\n\n\n<p><strong>Another solution<\/strong>: if previous command didn&#8217;t work, try this one:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config --global core.longpaths true<\/code><\/pre>\n\n\n\n<p><strong><a rel=\"dofollow noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/fileio\/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later\" target=\"_blank\">Explanation and source<\/a><\/strong><\/p>\n\n\n\n<p>For more interesting tutorials &amp; guides just check them&nbsp;<a rel=\"dofollow\" href=\"https:\/\/fixthebugs.com\/index.php\/category\/tutorials-guides\/\">HERE<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: Git command returns next error: Solution: launch next command Another solution: if previous command didn&#8217;t work, try this one: Explanation and source For more interesting tutorials &amp; guides just check them&nbsp;HERE.<\/p>\n","protected":false},"author":1,"featured_media":230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[9,30],"tags":[64,33,65,17],"_links":{"self":[{"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/posts\/228"}],"collection":[{"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":2,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":231,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/posts\/228\/revisions\/231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/media\/230"}],"wp:attachment":[{"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fixthebugs.com\/index.php\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}