Re: how to reset to remote repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux