Re: Deleting remote branches with git-branch and reflog questions
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Jan 23, 2007, 15:29 UTC
- Message-ID
- <200701231529.40362.andyparkins@gmail.com>
- In-Reply-To
- <Pine.LNX.4.63.0701231558080.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Tuesday 2007 January 23 14:59, Johannes Schindelin wrote:
> You mean, kind of like a waste bin? Where you delete stuff, but come back > and whine that you did not meant to delete it after all?
No, no; I'm whining that the reflog was deleted, not the branch. I think that "ref deleted" is just as valid for logging as anything else, and deleting the log makes it impossible to view that operation.
Given how powerful the reflog is; it doesn't seem unreasonable to want to be able to do
$ git branch -D some-branch $ git show some-branch@{2 days ago}
Andy
-- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@gmail.com