Git check branch leaves a directory tree from another branch

I have branch2, the source of which is branch1, and the directory coming from branch1 is renamed. When checking branch 1, the renamed directory remains present, but is not marked as an uninstalled modification. The renamed directory, of course, is not present as a commit on branch1. Why is this happening?

+4
source share
1 answer

The specified directory hierarchy never contained a sheet of the file, which means that it was not tracked by git.

+3
source

Source: https://habr.com/ru/post/1495419/


All Articles