Track3 / hermit

A minimal & fast Hugo theme for bloggers
https://hugo-theme-hermit.netlify.com/
MIT License
1.11k stars 305 forks source link

Git submodule issues #156

Open m-paolino opened 3 years ago

m-paolino commented 3 years ago

Every time the git submodule add is launched then there are issues with untracked files. This happens because of missing .gitignore file. I attached a sample of gitignore file for all OS (to rename to .gitignore). Gitignore_sample.md

m-paolino commented 3 years ago

A workaround is to set ignore = all or ignore = dirty in .gitmodules file.

xxxcrow commented 3 years ago

@m-paolino you mean issues with hit submodules after modifying them? 🤔

m-paolino commented 3 years ago

@m-paolino you mean issues with hit submodules after modifying them? 🤔

Hi! I mean there are issues every time one uses submodule or clone due to dirty ignore state in .gitmodules. So it would be nice and simpler to add some .gitignore file to the repo. I think it's more convenient to use that way instead of simply copying the entire template and not getting the updates.