Ich versuche Makefile in meinem git Repo aufzunehmen, aber ich bekomme diese Meldung:Warum ignoriert Git mein Makefile?
$ git add Makefile
The following paths are ignored by one of your .gitignore files:
Makefile
Use -f if you really want to add them.
fatal: no files added
In meinem Repo .gitignore
Datei ich habe:
*.pdf
In meiner ~/.gitignore_global
#-*-shell-script-*-
# Python
*.pyc
# Latex
*.aux
*.bbl
*.blg
*.log
build
# Mac
*~
.DS_Store
Mein .gitignore_global ist in git config:
$ git config -l
core.excludesfile=/Users/marcos/.gitignore_global
Mein Repo befindet sich nicht in einem anderen Repo. Warum ignoriert Git mein Makefile?
Was ist mit der Datei '.git/info/exclude'? – dusan
Danke, @dusan. Es gab eine Zeile in dieser Datei mit Makefile. Ich habe es entfernt. Könntest du meine Frage beantworten? – msampaio