{"id":7606,"date":"2017-09-28T19:03:48","date_gmt":"2017-09-28T17:03:48","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=7606"},"modified":"2017-09-28T19:03:48","modified_gmt":"2017-09-28T17:03:48","slug":"git-windows-cr-lf","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2017\/09\/28\/git-windows-cr-lf\/","title":{"rendered":"Git, Windows, and how to deal with CR-LF"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/git-scm.com\/book\/tr\/v2\/Customizing-Git-Git-Configuration#__code_core_autocrlf_code\">https:\/\/git-scm.com\/book\/tr\/v2\/Customizing-Git-Git-Configuration#__code_core_autocrlf_code<\/a><\/li>\n<\/ul>\n<p>I am working in a UNIX-ish environment under Windows, so I don&#8217;t want Git to convert my Linux-LFs to CR-LF and vice versa. This is my Git setting:<\/p>\n<p><code>$ git config --global core.autocrlf false<\/code>\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/git-scm.com\/book\/tr\/v2\/Customizing-Git-Git-Configuration#__code_core_autocrlf_code I am working in a UNIX-ish environment under Windows, so I don&#8217;t want Git to convert my Linux-LFs to CR-LF and vice versa. This is my Git setting: $ git config &#8211;global core.autocrlf false<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[783],"tags":[],"class_list":["post-7606","post","type-post","status-publish","format-standard","hentry","category-git-scm"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1YG","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/7606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=7606"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/7606\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=7606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=7606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=7606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}