hermit icon indicating copy to clipboard operation
hermit copied to clipboard

Git submodule issues

Open m-paolino opened this issue 3 years ago • 3 comments

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 avatar Apr 29 '21 08:04 m-paolino

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

m-paolino avatar Apr 29 '21 08:04 m-paolino

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

xxxcrow avatar Jul 23 '21 21:07 xxxcrow

@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.

m-paolino avatar Jul 26 '21 16:07 m-paolino