Write directly to a remote Git repository, without adding objects to a local index/repo?
- by Ryan B. Lynch
Does Git support any commands that would allow me to commit directly from a local/working tree into a remote repository? The normal workflow requires a "git add", at least, to populate the object database with copies of the file contents, etc.
I understand that this is NOT the normal, expected Git workflow. But I noticed that Git already supports downloading directly from the repository, with no local repo ("git archive"), so it seems reasonable that there might be a similar uploading operation.
Alternatively, if there isn't such a command in the core Git itself, does any 3rd-party software support direct remote writes?