nugawiki

./categories/os

macOS SVN·Git ignore 설정

업데이트 2026-07-21 조회수

Git → SVN 제외

# ~/.gitignore
.svn
.DS_Store
build
xcuserdata

git config --global core.excludesfile ~/.gitignore

~/.gitconfigexcludesfile = /Users/userid/.gitignore 반영 확인.

SVN → Git 제외

vi ~/.subversion/config

[miscellany] global-ignores 주석 해제 후 .git build xcuserdata 추가:

global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.pyc *.pyo .DS_Store .git build xcuserdata
  • ~/.subversion 없으면 SVN을 먼저 설정. 한글 파일명은 별도 패치 필요할 수 있음(1.6.15까지 확인).

./comments