login
Header Space

 
 

Re: Newbie experience with push over ssh

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bill Lear <rael@...>
Cc: Joseph Wakeling <joseph.wakeling@...>, <git@...>
Date: Thursday, February 15, 2007 - 11:35 am

Bill Lear wrote:

:-)

Perhaps a better solution would be to do

git archive --format=tar --prefix=project/ | bzip2 -f9 | \
	ssh user@remote -C "cat > project.tar.bz2"

Then unpack and build as usual on the remote end. Works a treat and is
currently the gist of the only line in my "push-to-web" script (the rest
of it just extends the command to run to also unpack the tarball).

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Newbie experience with push over ssh, Matthieu Moy, (Wed Feb 14, 10:07 am)
Re: Newbie experience with push over ssh, Matthias Lederhofer, (Wed Feb 14, 10:27 am)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 12:10 pm)
Re: Newbie experience with push over ssh, Matthias Lederhofer, (Wed Feb 14, 1:52 pm)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 2:00 pm)
Re: Newbie experience with push over ssh, Bill Lear, (Wed Feb 14, 12:25 pm)
Re: Newbie experience with push over ssh, Andreas Ericsson, (Thu Feb 15, 11:35 am)
Re: Newbie experience with push over ssh, Matthieu Moy, (Wed Feb 14, 12:47 pm)
Re: Newbie experience with push over ssh, Bill Lear, (Wed Feb 14, 12:34 pm)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 12:48 pm)
Re: Newbie experience with push over ssh, Matthieu Moy, (Wed Feb 14, 12:56 pm)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 1:04 pm)
Re: Newbie experience with push over ssh, Nicolas Pitre, (Wed Feb 14, 1:38 pm)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 1:47 pm)
Re: Newbie experience with push over ssh, Jeff King, (Wed Feb 14, 1:51 pm)
Re: Newbie experience with push over ssh, Nicolas Pitre, (Wed Feb 14, 2:03 pm)
Re: Newbie experience with push over ssh, Bill Lear, (Wed Feb 14, 12:54 pm)
Re: Newbie experience with push over ssh, Joseph Wakeling, (Wed Feb 14, 12:29 pm)
speck-geostationary