Originally i established a repository on sda3, from the Linux OS on sda7, using user "git". I (user "sbh") work on the cloned files from sda7 in a local working copy and can successfully commit, push, etc. This was set up from sda7 by
git clone git@sbh-MBP:/mnt/sda3/Repo
On sda8, another Linux OS with the same UID and GID, I ("sbh") want to clone to a working folder on sda8 but
git clone git@sbh-MBP:/media/sda3/Repo
doesn't work. Both OSs have the same hostname too. Both OSs have a user named "git" too. UID/GID of sda8 is 1000/1002; and those for sda7 are the same, both for"git". Both OSs have same UID/GID for "sbh":. 501/20
All the questions I found pertain to actual remote, server side repos. Though I think this will boil down to a simple git answer.
My error when i try to clone is;
ssh: connect to host sbh-MBP port 22: Connection refused fatal: Could not read from remote repository.
I am new to git...
PS: It took more than one reboot apparently and now my error is new, as reflected above.
Is something like
git-init share=true necessary?
I edited my fstab in sda7 so they, the one in sda8, refer to the same space in the SSD. I also ran, as user "sbh" in sda7 in working copy,
git remote set-url origin git@sbh-MBP:/media/sda3/Repo