git binary recognition gitattributes1 Forcing specific Binary File Recognition in GIT GIT 에서 Binary 파일을 자동으로 인식하는데, 가끔 text file로 오동작을 한다. 이는 나중에 merging 시 line process를 할 수 있기 때문에 위험성이 존재한다. .gitignore 처럼 binary 인식시 .gitattributes 라는 파일안에 특정 파일형식을 등록하게 되면 해당하는 모든 파일들은 모두 binary 로 인식하게 된다. (사실 이 기능은 .gitattributes 파일의 여러 기능중의 하나이므로 다른 기능들을 알아보고 싶은분은 git manual 을 참조 바란다. ) .gitattribute : http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html 만약 모든 pdf 파일을 binary 로 인식하.. 2010. 6. 3. 이전 1 다음