Assume a non-version controlled project directory with sub-directories (A). A year later, that directory is COPIED and further development occurs (A').
I've just added the earlier version, A, to Git. In the spirit of version control I wish to copy A' files over A files (after all, they are the same project), but I seek to systematically delete A files that are no longer present in the later A' version.
I've Googled for quite some time but can't seem to find the best practice for this situation that (I bet) occurs frequently so I'm hoping there is a well-known "recipe" for how to pull it off without writing custom code.
Is it possible to use git-diff --diff-filter=D ("Deleted") to generate rm's so that the "residue" of A longer resides in source control?