Is there an equivalent to bzr-upload for git?
It should be able to upload the contents of a tree to a remote location over a dumb protocol (e.g. ftp). Future uploads should only upload the changed files. The history/repo need not be uploaded.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You can just copy the directory over, by any means available. The result is a git directory. But it is better to set up a bare repository and work from there (remeber that the git protocol was designed by efficieny freaks worrying about developers over slow links with huge latencies/RTTs). Check out the git book or one of the excellent tutorials listed here.
If you want to push, rather than pull, I don't think Git supports that functionality without a recipient server on the other side.
However, it would be fairly easy to attach an
rsync command (or similar) to the commit hooks in your Git repository, or just run the command manually when you want to upload code. If your
rsync excludes the
.git directories in your repo, all of the history stuff won't be uploaded, and only changed files will be touched.