$ cat ~/.gitconfig
[core]
editor = vim
excludefiles = /home/augustin/.gitignore
$ cat ~/.gitignore
toto
$ mkdir git_test
$ cd git_test/
$ git init
$ touch toto
$ git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# toto
nothing added to commit but untracked files present (use "git add" to track)
$ git --version
git version 1.6.3.3
왜 toto가 무시되지 않습니까?왜 글로벌 .gitignore 파일이 무시되지 않습니까?
~/.gitconfig의 기타 설정이 고려됩니다 (색상, 편집기).
'자식 설정 --global core.excludesfile ~/.gitignore'. 그것 [여기] (http://crucial-systems.com/global_gitignore)을 발견 했으므로 그것을 시험 할 수 없습니다. – ierax
@faif : 그 것이 효과가 있습니다. 내가 이것을 받아 들일 수 있도록 대답으로 제출하십시오. 감사. – augustin
나는 그것을했다. 고마워요. – ierax