Re: About detached heads
- From
- Sergei Organov <osv@javad.com>
- Date
- Mar 14, 2008, 12:16 UTC
- Message-ID
- <87lk4lo60k.fsf@osv.gnss.ru>
- In-Reply-To
- <m3lk4ly3vy.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
[...]
> 3. Now, if you have published 1..5 history you would not want > (usually) to rewind published branch. If you do the following: > > $ git revert --no-commit 5
the working tree in now dirty...
> $ git revert 4
and this one fails with dirty tree :(
Probably:
$ git revert -n 5 && git revert -n 4 && git commit -a
BTW, why git-revert doesn't take a range? Is there some fundamental problem with it?
-- Sergei.