From: "Shawn O. Pearce" <spearce@spearce.org>
To: Leonardo Boiko <leoboiko@ime.usp.br>
Cc: git@vger.kernel.org
Subject: Re: undo delete of remote-tracking branch
Date: Tue, 19 Jan 2010 07:59:11 -0800 [thread overview]
Message-ID: <20100119155911.GC23466@spearce.org> (raw)
In-Reply-To: <87bpgqnlws.wl%leoboiko@ime.usp.br>
Leonardo Boiko <leoboiko@ime.usp.br> 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.
next prev parent reply other threads:[~2010-01-19 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 15:40 undo delete of remote-tracking branch Leonardo Boiko
2010-01-19 15:59 ` Shawn O. Pearce [this message]
2010-01-19 16:08 ` Leonardo Boiko
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=20100119155911.GC23466@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=leoboiko@ime.usp.br \
/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