Re: git worktree fails to recreate existing branch even with -B

2016-02-15 Thread Duy Nguyen
On Tue, Feb 09, 2016 at 05:54:01PM +0300, Kirill Likhodedov wrote: > Git doesn’t allow me to execute > git worktree add -B > where already exists in the repository. > > The command prints the following: > Preparing (identifier ) > fatal: Refusing to point HEAD outside of refs/ >

git worktree fails to recreate existing branch even with -B

2016-02-09 Thread Kirill Likhodedov
Git doesn’t allow me to execute git worktree add -B where already exists in the repository. The command prints the following: Preparing (identifier ) fatal: Refusing to point HEAD outside of refs/ I’m trying to create a worktree on an existing branch , which should point to . T