Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: StGit: kha/safe and kha/experimental updated

From: Catalin Marinas <hidden>
Date: 2016-06-15 22:44:24

On 19/03/2008, Karl Hasselström [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help