From: Shawn O. Pearce Date: Tue, 19 Jan 2010 15:59:11 GMT Subject: Re: undo delete of remote-tracking branch Message-ID: <20100119155911.GC23466@spearce.org> In-Reply-To: <87bpgqnlws.wl%leoboiko@ime.usp.br> Leonardo Boiko wrote: > I'm a complete idiot and just typed this: > > git branch -d -r origin/master > > Is there a way to undo my act of idiocy? git fetch origin Which will create it again during the fetch cycle. Unfortunately the reflog for origin/master is gone, so you won't get results for origin/master@{4.days.ago}. -- Shawn.