What happens to an existing git repository when you issue git init again?
I created a repository with git init. Created a file, add, commi
Since v1.7.5 (b57fb80a7), git init in an existing repo has also allowed moving the .git directory:
The primary reason for rerunning 'git init' is to pick up newly added templates (or to move the repository to another place if --separate-git-dir is given).
'Picking up newly-added templates' means that any templates which have not already been copied from the template directory will now be copied into the existing git directory.
'Moving the repository to another place' means that, if --separate-git-dir points to somewhere else, the existing .git directory will be moved there and replaced by a link.