git status - fatal: cannot chdir

tldr: If you make any changes to the file path of a git submodule, you need to also update all of your config files accordingly. Background I use the Papermod Hugo theme for my personal website. One of the ways to use Hugo themes is to install them as a submodule inside your project’s ./themes directory. I wanted to update the module today as there have been a number of changes since I set it up....

May 26, 2022 · 3 min · Me