Does running git init twice initialize a repository or reinitialize an existing repo?

From the git docs:

Running git init in an existing repository is safe. It will not overwrite things that are already there. The primary reason for rerunning git init is to pick up newly added templates.

Leave a Comment