git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Newbie experience with push over ssh

From
JWJoseph Wakeling <joseph.wakeling@webdrake.net>
Date
Feb 14, 2007, 18:00 UTC
Message-ID
<45D34E57.5050004@webdrake.net>
In-Reply-To
<20070214175219.GA7082@moooo.ath.cx>
Matthias Lederhofer wrote:
Show 11 quoted lines
> Joseph Wakeling <joseph.wakeling@webdrake.net> wrote:
>> I remember coming across the same issue as Matthieu and never got round
>> to solving it.  In my case the desire is to upload the code onto a
>> remote machine---in particular a cluster where I run simulations.  I
>> don't particularly need that remote code to be in a repo or otherwise,
>> since it's only there to be run, not edited.
> 
> git archive --format=tar HEAD | ssh remote 'cd /some/where;tar xvf -'
> 
> You could put this in a shell script which takes the remote hostname,
> path and optionally the revision to send..
Aaahhh, that looks quite an elegant solution.  Thank you very much!
Previous: Matthias Lederhofer
Message 18 of 18 in “Newbie experience with push over ssh”
  1. Matthieu MoyFeb 14, 2007
  2. Matthias LederhoferFeb 14, 2007
  3. Joseph WakelingFeb 14, 2007
  4. Bill LearFeb 14, 2007
  5. Joseph WakelingFeb 14, 2007
  6. Bill LearFeb 14, 2007
  7. Joseph WakelingFeb 14, 2007
  8. Bill LearFeb 14, 2007
  9. Matthieu MoyFeb 14, 2007
  10. Joseph WakelingFeb 14, 2007
  11. Nicolas PitreFeb 14, 2007
  12. Joseph WakelingFeb 14, 2007
  13. Jeff KingFeb 14, 2007
  14. Nicolas PitreFeb 14, 2007
  15. Matthieu MoyFeb 14, 2007
  16. Andreas EricssonFeb 15, 2007
  17. Matthias LederhoferFeb 14, 2007
  18. Joseph WakelingFeb 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.