emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git: how to restore a deleted worktree?


From: Stephen Leake
Subject: Re: git: how to restore a deleted worktree?
Date: Thu, 04 Jan 2018 16:07:06 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)

Nathan Moreau <address@hidden> writes:

> It's not clear what you did when you `deleted' the worktree. The
> proper way to cleanup worktrees is
> + first to remove the associated branch (emacs-26)

What is the git command for this?

> This is probably what you need to do to get back to a clean state in
> your case, before going to `git worktree add....' again.
> If you just run the prune command, git won't prune anything as the
> branch still exists.

It did delete stuff from the .git/worktrees directory, since the
emacs-26 worktree no longer existed.


-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]