Thread (13 messages) flat view 13 messages, 5 authors, 2021-02-23

Re: New orphan worktree?

From: Jim Hill <hidden>
Date: 2021-01-06 17:02:01

On Wed, Jan 6, 2021 at 8:18 AM Stefan Monnier [off-list ref] wrote:
create a new orphan branch with a new matching worktree
There's a much shorter sequence

    git worktree add -b new new $(git commit-tree `git mktree <&-` <&-)
    rm .git/refs/heads/new
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help