Re: how to reset to remote repo
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Feb 23, 2009, 12:49 UTC
- Message-ID
- <slrngq56ql.q4m.sitaramc@sitaramc.homelinux.net>
- In-Reply-To
- <20090223105546.GA7425@b2j>
On 2009-02-23, 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?
git reset --hard origin/master
This is a very simple question, and may be quicker on irc :-)