git init leaves alone any existing files and subdirectories in the target directory.
How does git clone deal with any existing files and subdirectories in the target directory?
git init leaves alone any existing files and subdirectories in the target directory.
How does git clone deal with any existing files and subdirectories in the target directory?
git clone refuses to clone into an existing, non-empty directory. Therefore no problem can ever occur, except of course for the fact that git clone says no.
(Prior to Git 1.6.3 or so, git clone refused to clone into an existing directory even if it was empty.)