I am using an SSH Client to Dial into my Git Repo on my server.
I have the repo set up at
C:\Users\jameo\circletest.git
and I’m trying to set the ssh remote to it like this
git remote set-url origin ssh://jameo@10.10.10.10/C:/Users/jameo/circletest.git
And then do
git push origin master
But it keeps striping the “/”‘s from my path, I end up with something like this:
fatal: /C:Usersjameocircletest.git does not appear to be a git repository
Even if I reverse the slash (\ or /) either way its not finding the directory.
How would I go about finding this directory on the server?
In the end I decided it was much easier to just use SMB to dial into the directory, and then just point my repo at that mounted directory. Not really a solution to my exact question, but I would say this:
smb is 100x easier, and there 0 software to install.
Hope this can help someone struggling with the same thing