From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Karl Hasselström" <kha@treskal.com>
Cc: git@vger.kernel.org, "Alex Chiang" <achiang@hp.com>,
"Angus Salkeld" <ahsalkeld@gmail.com>
Subject: Re: StGit: kha/safe and kha/experimental updated
Date: Thu, 20 Mar 2008 15:25:04 +0000 [thread overview]
Message-ID: <b0943d9e0803200825y18971975qd79bf51157a97684@mail.gmail.com> (raw)
In-Reply-To: <20080319013832.GB28781@diana.vm.bytemark.co.uk>
On 19/03/2008, Karl Hasselström <kha@treskal.com> wrote:
> On 2008-03-19 02:28:04 +0100, Karl Hasselström wrote:
>
> > plus a new and shiny "stg reset" prototype!
>
>
> It works like this:
>
> 1. Every StGit command that modifies anything writes the new state
> to a log. The log is a git branch called <branchname>.stgit.
>
> 2. When you've done something you regret, find the state in the log
> you want to return to and just say (for example)
>
> $ stg reset master.stgit~3
>
> Resetting is recorded in the log just like everything else, so to
> undo a reset you just did, simply say
>
> $ stg reset master.stgit^
That's cool :-), thanks. We can even add aliases for 'undo' and 'redo'.
--
Catalin
next prev parent reply other threads:[~2008-03-20 15:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 1:28 StGit: kha/safe and kha/experimental updated Karl Hasselström
2008-03-19 1:38 ` Karl Hasselström
2008-03-20 15:25 ` Catalin Marinas [this message]
2008-03-24 18:26 ` Karl Hasselström
2008-03-25 10:52 ` Catalin Marinas
-- strict thread matches above, loose matches on Subject: below --
2008-02-10 20:36 Karl Hasselström
2008-02-12 17:54 ` Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b0943d9e0803200825y18971975qd79bf51157a97684@mail.gmail.com \
--to=catalin.marinas@gmail.com \
--cc=achiang@hp.com \
--cc=ahsalkeld@gmail.com \
--cc=git@vger.kernel.org \
--cc=kha@treskal.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).