Write directly to a remote Git repository, without adding objects to a local index/repo?

Posted by Ryan B. Lynch on Stack Overflow See other posts from Stack Overflow or by Ryan B. Lynch
Published on 2010-04-25T07:09:55Z Indexed on 2010/04/25 7:13 UTC
Read the original article Hit count: 306

Filed under:

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?

© Stack Overflow or respective owner

Related posts about git