Re: why is git destructive by default? (i suggest it not be!)
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 25, 2008, 08:58 UTC
- Message-ID
- <200806251058.54319.jnareb@gmail.com>
- In-Reply-To
- <20080625022610.GB20361@mit.edu>
On Wed, 25 Jun 2008, Theodore Tso wrote:
Show 10 quoted lines
> The reason why I've been thinking that I should change my shell script > from: > > git checkout integration > git reset --hard <foo> > > to: > > git update-ref ref/heads/integration HEAD > git checkout integration
Hmmmm.... Wouldn't it be easier on fingers to use
git reset --soft integration
-- Jakub Narebski Poland