いずれかのファイルで何も変更していませんが、> git status
.
を使用してそのファイルを見たとき> git diff
、すべての行が削除され、すべての行 (同じ) が追加されていることが表示されますが、 を使用する> git diff --ignore-space-change
と、git に変更が表示されません。
に関連するものだと確信していますend of line
が、奇妙なのは、すべてのファイルでこの動作が得られないことです..! また、すべての開発者は Windows を使用しています。
ここでend of line white spaces
、git pull
またはgit diff
.
私の Git 属性
# Auto detect text files and perform LF normalization
* text=auto
私の Git 構成
core.symlinks=false
core.autocrlf=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
pack.packsizelimit=2g
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
user.name=XXX
user.email=XXX@gmail.com
core.autocrlf=true
core.crlf=true
colors.ui=true
auto.crlf=true
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
core.hidedotfiles=dotGitOnly
core.crlf=true
私を助けてください。