Re: openbsd version?
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Oct 10, 2005, 20:36 UTC
- Message-ID
- <86ek6tcdou.fsf@blue.stonehenge.com>
- In-Reply-To
- <7vll113yjs.fsf@assigned-by-dhcp.cox.net>
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
Junio> Removing non-current branch -- you may need to do -D instead of -d.
Junio> $ git branch -d mybranch
<sarcasm>Undocumented secret switches. Nice.</sarcasm> No wonder I couldn't find it.
>> That's also a question in general... how can I remove a commit, >> knowing that I'd never refer to it again? Or is disk space so cheap >> that it wouldn't make any difference anyway?
Junio> Removing from the tip of the current branch:
Junio> $ git reset HEAD^
Junio> Removing from the tip of non-current branch:
Junio> $ git update-ref mybranch mybranch^
Do these also flush any related object files? Or do I need git-fsck still?
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!