Is there a standard way to synchronize a git workspace with another directory. Suppose I have a directory managed by git. This directory is displayed externally, as well as its changes (files changed, added and deleted). Then he returns to my car. How can I easily integrate all these changes back into git.
If I just copied the files, then the new and changed files would be fine, but the information about the deleted files would be lost. Is there a way to easily make git rm for files that were deleted when the directory was outside of git?
source share