All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sam Watkins" <swatkins@fastmail.fm>
To: git@vger.kernel.org
Subject: git-push hook to update remote working copy safely
Date: Fri, 23 Feb 2007 19:51:49 +1100	[thread overview]
Message-ID: <1172220709.10221.1176113191@webmail.messagingengine.com> (raw)

peace,

I'm looking for a command that will update the remote working copy after
a "git push", without damaging any changes that may have been made to
the working copy.
I haven't used git barely at all, hoping this is an okay place to ask
about this.  I can put the command into the push hook myself, I just
don't know what command does that!

This is one of the last "pieces" needed for a hopefully useful
application I'm working on with a friend, which uses git for storage and
file transfer.


Sam

             reply	other threads:[~2007-02-23  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23  8:51 Sam Watkins [this message]
2007-02-23 11:00 ` git-push hook to update remote working copy safely Junio C Hamano
2007-02-23 16:35   ` Sam Watkins
2007-02-23 16:40     ` Johannes Schindelin
2007-02-23 17:04       ` Sam Watkins
2007-02-23 18:13         ` Johannes Schindelin
2007-02-23 18:32       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1172220709.10221.1176113191@webmail.messagingengine.com \
    --to=swatkins@fastmail.fm \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.