git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bill lam <cbill.lam@gmail.com>
To: Sitaram Chamarty <sitaramc@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: how to reset to remote repo
Date: Mon, 23 Feb 2009 22:57:22 +0800	[thread overview]
Message-ID: <20090223145722.GB7422@b2j> (raw)
In-Reply-To: <slrngq56ql.q4m.sitaramc@sitaramc.homelinux.net>

On Mon, 23 Feb 2009, Sitaram Chamarty wrote:
> git reset --hard origin/master
> 
> This is a very simple question, and may be quicker on irc
> :-)

Does it always work?  For example if I already made several patches
interleaved with several fetch/update, or if I rebase to remove the
orgin/master?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩286 張祜  題金陵渡
    金陵津渡小山樓  一宿行人自可愁  潮落夜江斜月裡  兩三星火是瓜州

  reply	other threads:[~2009-02-23 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 10:55 how to reset to remote repo bill lam
2009-02-23 12:14 ` Dilip M
2009-02-23 12:49 ` Sitaram Chamarty
2009-02-23 14:57   ` bill lam [this message]
2009-02-23 15:50     ` Sitaram Chamarty
2009-02-23 23:19       ` bill lam

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=20090223145722.GB7422@b2j \
    --to=cbill.lam@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=sitaramc@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).