忽略我做當文件被的.gitignore
git add db/schema.rb
The following paths are ignored by one of your .gitignore files:
db/schema.rb
Use -f if you really want to add them.
fatal: no files added
我在哪裏可以找到這個文件被忽略,請參閱:
cat .gitignore
.project
nbproject
.redcar
cat ~/.gitignore
.idea
~/.gitignore
是全球忽略。
'cat db/.gitignore'? – user123444555621
對,有一個schema.rb,非常感謝。 – juanpastas