Deploy Web from multiple computers

I work on a website on several computers, my work and my home computer. The source is maintained in the git repository. I am using Web Deploy to publish a website in IIS on a public server. Everything works fine, I can publish from both computers, and it works.

The problem is that when deploying from one PC, then go to another, get the latest changes from git, make more changes, then deploy them again, redeploy the entire site, not just the files that have changed - how it happens, if I had to take out "then go to another, get the latest changes from git" steps from the first sentence of this paragraph.

What can I do, what files can I include in my git repository (I exclude all packages , bin and obj bin ) or what additional configuration can I do to solve this problem?

+6
source share
1 answer

Add the repo to your public server, click on it, and then deploy it. The push will be minimal, git can be amazingly good with deltas.

+1
source

Source: https://habr.com/ru/post/928035/


All Articles