When I used git init .
in the directory whose contents were about to be stored using git
, it dutifully created a local repository in a subdirectory named .git
.
Under macOS, this is annoying, since by default any .xxxx
file is "hidden".
How can I use a different name than
.git
without it affecting use of subsequentgit
commands?If I move the (renamed)
.git
to another local directory, how do I modify subsequentgit
commands so they will find the repository?