I installed Git for Windows in order to clone and pull a project hosted on a remote Linux server. In my repository (D:/repositories/my-project) I launch the following commands
git clone server@192.168.56.101:/var/www/web/my-project/.git
git pull origin master
So far so good. I pull the project files whenever modifications are applied on the server. But now I'd like to pull or push from the remote server to my local repository. I tried many things but I can't figure out how to access the repository located on my local machine. Things like:
git pull duddy@my-pc:/d/repositories/my-project/.git master
just doesn't work, Git says:
ssh: Could not resolve hostname my-pc: Name or service not known fatal: Could not read from remote repository.
Can someone helps me ?