I have set up a Hexo blog and it is working good. I am trying to make a backup for my local file and I am doing this by upload the file to GitHub.(Not hosting the page, as I have done that) However, there is an issue when I stage the file.
As far as I know, the themes/icarus
stores the theme file I am using for my blog AND this file is not tracking file. I have checked my .gitignore
file, it looks like this:
How to fix this issue, Thanks in advance.
Modified content, untracked content means that themes/icarus folder is a submodule.
Check your .gitmodules
file, you should see it there.
If you do any modification in a submodule, you must add, commit and piush in that submodule first (assuming you can push to its remote repository), before adding/committing and pushing in the main project.