Under bash another way to achieve the goal of temporarily putting your
partially written commit command aside is to do: ^a ^k
This puts your command in the cut buffer. To retrieve it (after having run
fossil gdiff to figure out what you did!) just do: ^y




On Mon, Jun 16, 2014 at 1:24 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> Hi, all,
>
> This is for Unix-shell users only (including workalikes on Windows)...
>
> Here's a time-saving tip which i use very often myself, but most CLI users
> i know don't seem to know about:
>
> It often happens that i'm typing a commit message when i decide i need to
> stop and go check if what i'm typing in really reflects reality (or needs
> to be tested). So:
>
> fossil commit -m ".........<INTERRUPT POINT>
>
> You can stick that line in your command history without executing it by
> doing the following:
>
> 1) Move your cursor to the beginning of the line. In Bash-like shells
> that's normally Ctrl-A, but many terminals support the Home key as well.
>
> 2) Type the '#' character (shift-3 on a US keyboard). That's the shell's
> comment-to-end-of-line marker.
>
> 3) Tap ENTER
>
> Or, in the Bash shell, simply:
>
> 1) Tap Escape, then type the # character. That does all 3 of the above at
> once.
>
>
> Happy Fossiling!
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
> those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
Matt
-=-
90% of the nations wealth is held by 2% of the people. Bummer to be in the
majority...
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to