Re: Newbie experience with push over ssh
- From
Jeff King <peff@peff.net>
- Date
- Feb 14, 2007, 17:51 UTC
- Message-ID
- <20070214175140.GA24684@cc.gatech.edu>
- In-Reply-To
- <45D34B17.70602@webdrake.net>
On Wed, Feb 14, 2007 at 05:47:03PM +0000, Joseph Wakeling wrote:
> For one thing, I might be making small changes or have unversioned files > in my local directory that I don't want to copy. I only want to push > across the latest code in the branch.
rsync will efficiently push small changes. Just feed it input from git's list of versioned files:
git ls-files -z | rsync -a --files-from=- -0 . host:/path/to/dest
-Peff