In my Ubuntu terminal, I create an empty Git repository in an empty folder, say called "Docs", on a removable hard disk. But the system response me an error message to my command
$ git --bared init --shared
fatal: Could not make /media/HARDDISK/Docs/refs/heads writable by group
I tried different options for "share", e.g., group and all. But it does not work. The initialization works if I remove the --share
argument.
sudo git --bared init --share
?--bare
and--shared
?