<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rikoubou</author_name>
  <author_url>https://blog.hatena.ne.jp/rikoubou/</author_url>
  <blog_title>ソースに絡まるエスカルゴ</blog_title>
  <blog_url>https://rikoubou.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>コマンド</anon>
  </categories>
  <description>Windowsにgitを入れちょうどシェルスクリプトを書いている時に「いつの間にか改行コードが変わっている」ことに気が付きました。 今回はその改行コードの自動変更の設定を解除したりする方法の備忘録になります。詳しい説明は参考資料に挙げているページ様が詳しいのでそちらを参照してください。 では、始めます。 １：gitでの改行の設定 gitの公式サイトからインストーラをダウンロードし、それをWindowsでインストールした場合、特に何も設定を変更していない場合は以下のような設定になっているはずです。 チェックアウト時 コミット時 LF → CRLF CRLF → LF またGitのインストール後に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frikoubou.hatenablog.com%2Fentry%2F2022%2F12%2F12%2F141428&quot; title=&quot;【git】勝手に改行コードが変更される場合の対処 - ソースに絡まるエスカルゴ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-12 14:14:28</published>
  <title>【git】勝手に改行コードが変更される場合の対処</title>
  <type>rich</type>
  <url>https://rikoubou.hatenablog.com/entry/2022/12/12/141428</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
