Vscode-gitlens: Add fetch command to Repository explorer

Created on 6 Aug 2018  路  6Comments  路  Source: eamodio/vscode-gitlens

Hi,

just installed Gitlens and it looks great!

My working folder is currently behind the remote repository what I can see when looking at github, but that isn't signaled in gitlens. Also if I call compare with working folder in the Remotes branch nothing is displayed.
Any help would be awesome.
Thanks
Thomas

bug

All 6 comments

GitLens doesn't execute any fetches -- I rely on the auto fetch in vscode (although this could be off git.autofetch is false) or just manual fetches. Do you still see that behavior after a git fetch?

Thanks a lot, that fixed it. Not sure if this is mentioned somewhere in your docs.

Glad that resolved it. You are right, it isn't mentioned in the docs -- I probably should add that, or maybe I should execute a fetch on refresh, if git.autofetch isn't enabled.

Yes would be good just got the feedback from someone else with the same problem. I fear a lot of users might install gitlense and directly uninstall it again because they think it doesn't work.

Yes, I just had the same issue. I'm more used to a GUI for Git and by clicking the refresh icon in the GitLens sidebar, I assumed that it would do a fetch for me. I checked the Git output logs and I don't see it doing so. My auto-fetch is off as well since I like to know when it occurs.

image

In addition, another related issue was that I was trying to switch to a new branch and I wanted to see it in the GitLens sidebar. I clicked on the refresh icon and I expected the branch to appear under the Remote section. It didn't see it so I ran a git fetch on the command line and then it appeared.

I'm not sure if you want to add a separate Git fetch button or make it part of the refresh button, but I could also see users getting confused by that.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings