Re: several quick questions
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 14, 2006, 20:37 UTC
- Message-ID
- <Pine.LNX.4.63.0602142136250.23659@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20060214202728.GE31278@pasky.or.cz>
Hi,
On Tue, 14 Feb 2006, Petr Baudis wrote:
Show 7 quoted lines
> [...] > > 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".
Ciao, Dscho