From: Randal L. Schwartz Date: Mon, 10 Oct 2005 20:36:01 GMT Subject: Re: openbsd version? Message-ID: <86ek6tcdou.fsf@blue.stonehenge.com> In-Reply-To: <7vll113yjs.fsf@assigned-by-dhcp.cox.net> >>>>> "Junio" == Junio C Hamano writes: Junio> Removing non-current branch -- you may need to do -D instead of -d. Junio> $ git branch -d mybranch Undocumented secret switches. Nice. 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 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!