Próbuję to Makefile w moim repo git, ale pojawia się komunikat:Dlaczego Git ignoruje mój plik 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
W moim pliku repo .gitignore
mam:
*.pdf
W moim ~/.gitignore_global
#-*-shell-script-*-
# Python
*.pyc
# Latex
*.aux
*.bbl
*.blg
*.log
build
# Mac
*~
.DS_Store
Moja .gitignore_global jest git config:
$ git config -l
core.excludesfile=/Users/marcos/.gitignore_global
Moje repo nie znajduje się w innym repo. Dlaczego Git ignoruje mój plik Makefile?
Co z plikiem '.git/info/exclude'? – dusan
Dzięki, @dusan. W pliku tym był wiersz z plikiem Makefile. Usunąłem to. Czy możesz odpowiedzieć na moje pytanie? – msampaio