SubversionからGitに移行するときの注意点


SubversionGit

git-svn(1) Subversion  Git 
git svn clone Subversionのリポジトリ

Git CR+LF LF Subversion  CR+LF Git CR+LF 

gitattributes(5)  When text=auto normalization is enabled in an existing repository 
$ echo "* text=auto" >>.gitattributes
$ rm .git/index     # Remove the index to force git to
$ git reset         # re-scan the working directory
$ git status        # Show files that will be normalized
$ git add -u
$ git add .gitattributes
$ git commit -m "Introduce end-of-line normalization"

LFWindows .git/config  autocrlf  true LF CR+LF 

rm .git/index .git/tortoisegit.* TortoiseGit  Show log 

 Windows  Git  autocrlf  CR+LF msysgit (Git for Windows) 

UTF-8 Git for Windows