fatal: branch is already checked out at another worktreefatal: branch già estratto in un altro worktree
Il branch non può essere estratto perché è già estratto in un altro worktree.
Cause di questo errore
I worktree Git richiedono che ogni branch sia estratto in un solo worktree alla volta. Il branch che vuoi estrarre è già in uso in un altro worktree collegato.
Come correggerlo
Elenca i worktree: git worktree list. Rimuovi il worktree che usa il branch: git worktree remove path. In alternativa, estrai prima un branch diverso nell'altro worktree. Crea un nuovo branch se necessario.
Codici di errore correlati
fatal: bad revisionfatal: bad revision
La revisione specificata (hash del commit, nome del branch, tag) non esiste.
fatal: ambiguous argumentfatal: ambiguous argument
Git non riesce a determinare se l'argomento si riferisce a una revisione, a un percorso o a qualcos'altro.
nothing to commit, working tree cleannothing to commit, working tree clean
Non ci sono modifiche da committare; la working directory corrisponde all'ultimo commit.
error: Cannot delete branch currently checked outerror: Cannot delete current branch
Non è possibile eliminare il branch su cui ci si trova attualmente.
fatal: shallow update not allowedfatal: shallow update not allowed
Un push da un clone superficiale è stato rifiutato perché il remote non accetta aggiornamenti shallow.
fatal: A branch named 'x' already existsfatal: A branch already exists
Nel repository esiste già un branch con il nome specificato.