Replies: 1 comment
-
|
You’re not doing anything wrong. GitLens (and VS Code’s Git UI in general) only shows Pull for the current tracked upstream branch. If your local branch Git's rule is basically:You can only pull from the branch your current branch is set to track. How to fix itIf you want to pull from origin/b while on local a, you need to set the upstream first:
or:
After that, GitLens will recognize the relationship and the Pull action will appear for that branch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry, this is my first time using this plugin. There is a scenario where the current branch is in the local branch a, and I want to pull the code from the remote branch origin/b. When I right-click on origin/b, there is only fetch but no pull. Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions