When updating a non-bare [[Git]] repository (ie. it is checked out and has a working tree) via `git push`, it will typically be rejected with an error. You can allow pushing an intended state to the remote setting the following config option on the *remote*:
```shell
git config receive.denyCurrentBranch updateInstead
```
This is particularly helpful if you're using a plain git repository to serve static assets.