Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fetch command to Repository explorer #470

Closed
escamoteur opened this issue Aug 6, 2018 · 6 comments
Closed

Add fetch command to Repository explorer #470

escamoteur opened this issue Aug 6, 2018 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@escamoteur
Copy link

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

@eamodio
Copy link
Member

eamodio commented Aug 6, 2018

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?

@eamodio eamodio added the needs-more-info Needs further information, steps, details, etc. label Aug 6, 2018
@escamoteur
Copy link
Author

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

@eamodio
Copy link
Member

eamodio commented Aug 7, 2018

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.

@eamodio eamodio reopened this Aug 7, 2018
@eamodio eamodio added bug Something isn't working and removed needs-more-info Needs further information, steps, details, etc. labels Aug 7, 2018
@escamoteur
Copy link
Author

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.

@GargantulaKon
Copy link

GargantulaKon commented Aug 8, 2018

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.

@eamodio eamodio added this to the Soonish™ milestone Aug 16, 2018
@eamodio eamodio self-assigned this Aug 16, 2018
@eamodio eamodio changed the title Comparison with remote repository seems not to work. Add fetch command to Repository explorer Sep 11, 2018
@eamodio eamodio modified the milestones: Soonish™, Soon™ Sep 30, 2018
@eamodio eamodio closed this as completed in a722a99 Dec 2, 2018
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

github-actions bot commented Dec 2, 2020

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@eamodio @GargantulaKon @escamoteur and others