$ 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
Neden göz ardı edilmiyor?Genel .gitignore dosyam neden yok sayılıyor?
~/.gitconfig içindeki diğer ayarlar dikkate alınır (renkler, düzenleyici).
'Git yapılandırma --global core.excludesfile ~/.gitignore'. Bunu bulundu (burada) (http://crucial-systems.com/global_gitignore) ve şu anda test edemiyor – ierax
@faif: bu çalıştı. Bunu kabul edebilmek için bir cevap olarak gönderin. Teşekkürler. – augustin
Bunu yaptım. Ben de teşekkür ederim :) – ierax