git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dilip M <dilipm79@gmail.com>
To: git <git@vger.kernel.org>
Subject: Re: how to reset to remote repo
Date: Mon, 23 Feb 2009 17:44:58 +0530	[thread overview]
Message-ID: <c94f8e120902230414v33d36acelc3dc39861646539a@mail.gmail.com> (raw)
In-Reply-To: <20090223105546.GA7425@b2j>

git reset --hard HEAD

-- BR, Dilip




On Mon, Feb 23, 2009 at 4:25 PM, bill lam <cbill.lam@gmail.com> wrote:
> I cloned some public git repos and made some local patches. Later I
> pulled updates again and that merged with my patches. Now I want to
> throw away my patches, how do I get a clean working repo that is a
> 100% clone of the remote repo?
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 唐詩285 張祜  集靈臺二首之二
>    虢國夫人承主恩  平明騎馬入宮門  卻嫌脂粉污顏色  淡掃蛾眉朝至尊
> --
> 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
>

  reply	other threads:[~2009-02-23 12:16 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 [this message]
2009-02-23 12:49 ` Sitaram Chamarty
2009-02-23 14:57   ` bill lam
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=c94f8e120902230414v33d36acelc3dc39861646539a@mail.gmail.com \
    --to=dilipm79@gmail.com \
    --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 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).