^M
キャレットシンボルがgit diff
で表示されています。ファイルはLinuxに保存されていますが、Samba共有ネットワークを使用してWindows上で編集されます。それらを取り除くしようとすると、私が行っgit-diff to ignore ^Mごとに、次のリバースgit設定コマンド
[[email protected] .git]$ git config --global core.whitespace cr-at-eol
^M
はもはや表示されますが、どのように悪いですが、まだ別のものとして行を示しgit diff
ではありませんが、テキストは両方の行で同一であります^M
は表示されなくなったためです。
どうすればいいですか?core.whitespace cr-at-eol
?私はgitの設定ファイルの変更を見ることができると思ったが、そうではなかった。
[[email protected] .git]$ cat config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:root/projextx.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master