How I Fixed: Git Not Seeing New Subfolder

The tl;dr approach to solving this problem?

mv stubborn_folder temporary_renamed_folder
mv temporary_renamed_folder stubborn_folder

Simple, easy and effective.

Rename / move (mv) the folder that won’t seem to show up in git status and then rename / move (mv) it back.

Sometimes the best solutions are the simplest.

Published by

Code Review

CodeReviewVideos is a video training site helping software developers learn Symfony faster and easier.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.