You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After getting a little familiar with GitLens, I realized that there are several branches on my GitHub repository that I can't see in the sidebar's Branches list.
In order to solve this problem, I have to run the following command:
for i in `git branch -a | grep remote | grep -v HEAD | grep -v master`; do git branch --track ${i#remotes/origin/} $i; done
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After getting a little familiar with GitLens, I realized that there are several branches on my GitHub repository that I can't see in the sidebar's Branches list.
In order to solve this problem, I have to run the following command:
taken from a StackOverflow post
What's the best way to do this in GitLens? I have tried fetching & pruning, fetching from all, and no luck.
Also, is there a way to "auto" track remote branches?
Beta Was this translation helpful? Give feedback.
All reactions