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

Clicking git sync icon should only push when there are local changes #1903

Closed
felixfbecker opened this issue Jan 10, 2016 · 2 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@felixfbecker
Copy link
Contributor

When I clone a github repo, I often dont have write permissions to it. VS Code shows me in the bottom left corner how many different commits I have here and on the remote. When I click the sync icon, it first pulls, and then, even though it shows that I have zero new commits, does a push, which results in a git error.

Git output:

git fetch
git show HEAD:adapter/src/debugSession.ts
git show HEAD:adapter/src/debugSession.ts
git pull
git show HEAD:adapter/src/debugSession.ts
git show HEAD:adapter/src/debugSession.ts
git push
ERROR: Permission to Microsoft/vscode-debugadapter-node.git denied to felixfbecker.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
@joaomoreno joaomoreno added the bug Issue identified by VS Code Team member as probable bug label Jan 11, 2016
@joaomoreno joaomoreno self-assigned this Jan 11, 2016
@joaomoreno joaomoreno added this to the Jan 2016 milestone Jan 11, 2016
@joaomoreno
Copy link
Member

Very interesting and common scenario... we need to fix that.

@bpasero
Copy link
Member

bpasero commented Jan 27, 2016

❤️

@joaomoreno joaomoreno assigned bpasero and unassigned joaomoreno Jan 27, 2016
@bpasero bpasero added the verified Verification succeeded label Jan 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants