5
私はGitのレポでMakefileを含めるしようとしているが、私はこのメッセージが表示されます。 なぜGitは自分のMakefileを無視していますか?
私の〜/ .gitignore_globalで*.pdf
:私は私のレポ.gitignore
ファイルで
$ 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
#-*-shell-script-*-
# Python
*.pyc
# Latex
*.aux
*.bbl
*.blg
*.log
build
# Mac
*~
.DS_Store
私.gitignore_globalはGitの設定である:
$ git config -l
core.excludesfile=/Users/marcos/.gitignore_global
私のレポは別のレポの中にありません。 Gitはなぜ私のMakefileを無視していますか?
'.git/info/exclude'ファイルはどうですか? – dusan
ありがとう、@ dusan。このファイルには、Makefileとともに行があります。私はそれを削除した。私の質問に答えることができますか? – msampaio