From: Elie Obeid Date: Mon, 25 Jul 2022 20:51:09 GMT Subject: How to specify a remote branch in git worktree? Message-ID: Hi, I have two remote branches prod and beta, I want to create one worktree for prod and one for beta. mkdir app && cd app git clone --bare repo .git git worktree add --checkout beta beta git worktree add --checkout prod prod cd prod git pull Mege conflict As you can see, I get a merge conflict right after I clone the repo, create the worktree and do a git pull, maybe the worktree is trying to do a pull from master, I have no idea How to fix that? Best Regards.