This is my scenario, I have two servers and my PC:
The origin project is on Remote Server A with git, I clone into my PC, I can edit this project and push to Remote Server A.
But now there is another requirement, that is I want to publish my project to Remote Server B in a directory such as /www/wwwroot/
.
What should I do? how to set the git environment in Remote Server B/PC then I can use PC to push code to Remote Server B? Because in this case I can not clone from PC to Remote Server B, because the PC is a NAT address.