-
|
I've recently started using Git worktrees for some of the projects I work on. Forge can pull the existing issues and pull-requests no problem from any given worktree/branch I have checked out and I can push/pull changes no problem too. I really like the simplicity of being able to create my pull-requests via Forge but when I attempt to do this after pushing commits on a worktree/branch to GitHub and try I can browse and comment on existing issues and pull-requests no problem though. Is there perhaps some configuration option I need to enable to be able to create pull requests using this worktree/branch approach? Had a search and couldn't find anything (although did learn about creating worktree for pull requests which I hadn't clocked despite it staring me in the face each time I created a new worktree!). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I cannot reproduce that. Are you sure the problem isn't that you haven't pushed |
Beta Was this translation helpful? Give feedback.
-
|
Ah, this could be the root cause! Weirdly though I can push to the remote but Magit doesn't recognise this. In the I then But the My config is indeed missing the branch tracking info as it only has... But when not using I I've tried placing I tried adding... ...which resulted in the Magit buffer showing... whichis confusing as I thought that would do the trick 😖 An aside... Have just given |
Beta Was this translation helpful? Give feedback.
This
should be
I don't know how that got deleted, but the things you tried won't restore it. Just add it manually and
git fetch originto create the remote tracking branches.