Re: several quick questions

From: Junio C Hamano <junkio@cox.net>
Date: 2006-02-15 07:41:57
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> Hi,
>
> On Tue, 14 Feb 2006, Petr Baudis wrote:
>
>> [...]
>>
>> It works by creating a new branch cg-seek-point and storing the seeked
>> point there; if HEAD is already on the branch, it merely changes the
>> seek point and resets the working tree appropriately. cg-seek without
>> any arguments will then return to your original head, whose name was
>> stored in .git/head-name.
>
> And if you want to prevent accidental commit, just "chmod a-w 
> $GIT_DIR/index".

That is a wrong answer.  It is perfectly sane to modify index
without an intention to commit that change (you can always say
"git reset").


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Feb 15 07:42:04 2006

This archive was generated by hypermail 2.1.8 : 2006-02-15 07:43:15 EST