Solution here: Why does git say a sub project is dirty if I do not have any sub-modules in my repository?
So I'm following Michael Hartl's Rails tutorial. I'm about five chapters in when I realized my app isn't working on Heroku. I look back a little and I realize that my entire config/initializers
folder isn't in my repo, as you can see here: https://github.com/ksin/sample_app/tree/master/config
Clearly, the folder exists in my workspace.
$git status
#=> shows nothing to commit.
When I alter a file in initializers and run $git status
, config/initializers
appears as modified content. However, I can't stage the change at all. (As in I'll run $git add .
but when I run $git status
afterwards, the unstaged file is still there.)
I'm unsure what the problem is as this has never happened to me before.
After searching some more, I also did:
$git submodule
#=> No submodule mapping found in .gitmodules for path 'config/initializers'
Does this mean anything?