On 2009-02-23, bill lam <cbill.lam@xxxxxxxxx> wrote: > 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? I'm not sure why a rebase of any kind would remove a remote brancg but you can always do 'git fetch' first if you accidentally messed up origin/master. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html