Re: Rollback of git commands
- From
David Symonds <dsymonds@gmail.com>
- Date
- Nov 28, 2007, 01:57 UTC
- Message-ID
- <ee77f5c20711271757h724d5fcep38f3c2354c54f20b@mail.gmail.com>
- In-Reply-To
- <9e4733910711271749q1b96bfe9i60e43619c89234b9@mail.gmail.com>
On Nov 28, 2007 12:49 PM, Jon Smirl <jonsmirl@gmail.com> wrote:
Show 5 quoted lines
> Rollback is too strong of name for this. Checkpoints would be better. > The idea is to record the total system state at convenient moments and > then allow moving back to the checkpointed state. The object store > supports this, but the rest of the state in .git/* isn't being > recorded.
rsync -a .git /somewhere/safe
I fear that what you ask becomes a chicken-and-egg scenario: where/how is this checkpointing information going to be stored? If it's tightly integrated with Git, what happens when you want to roll-back a checkpoint-restore?
Dave.