I want git to sync and overwrite all files that are on the local machine which are also present in the repository. I don't want git to remove any local changes to the same directory though so e.g.:
repo files:
folder_a/
contains: file_a, file_b, file_c
local files:
folder_a/
contains: file_a, file_b, file_c and file_d
Now I want git to replace all files locally with those from repo, but don't touch file_d
.
file_d
ot git index or is it untracked?