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

No option to create a fork when unable to push to a repo #148568

Closed
rzhao271 opened this issue May 2, 2022 · 4 comments · Fixed by #151072 or #154008
Closed

No option to create a fork when unable to push to a repo #148568

rzhao271 opened this issue May 2, 2022 · 4 comments · Fixed by #151072 or #154008
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug github Github extension insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@rzhao271
Copy link
Contributor

rzhao271 commented May 2, 2022

For step 4 of #143083 (comment), when I try publishing the branch, I get the error "Git: remote: Permission to joaomoreno/test-pr-templates.git denied to rzhao271." There is no option to create a fork:
Screenshot showing modal dialog. None of the options are to create a fork

Originally posted by @rzhao271 in #143083 (comment)

@rzhao271 rzhao271 changed the title No option to create a fork No option to create a fork when unable to push to a repo May 2, 2022
@lszomoru lszomoru assigned joaomoreno and unassigned lszomoru May 2, 2022
@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug github Github extension labels May 3, 2022
@joaomoreno joaomoreno added this to the May 2022 milestone May 3, 2022
@joaomoreno joaomoreno modified the milestones: May 2022, Backlog Jun 1, 2022
@joaomoreno joaomoreno added the help wanted Issues identified as good community contribution opportunities label Jun 1, 2022
@isidorn isidorn modified the milestones: Backlog, May 2022 Jun 2, 2022
isidorn added a commit that referenced this issue Jun 2, 2022
Co-Authored-by: joaomoreno
Closes: #148568
Closes: #143083
Closes: #148326
joaomoreno pushed a commit that referenced this issue Jun 2, 2022
Co-Authored-by: joaomoreno
Closes: #148568
Closes: #143083
Closes: #148326
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jun 2, 2022
@joyceerhl joyceerhl added the verified Verification succeeded label Jun 3, 2022
@joaomoreno
Copy link
Member

@connor4312 says:

I got the same issue on the latest Insiders

image

Command output:

> git push -u origin test-branch
ERROR: Permission to joaomoreno/test-pr-templates.git denied to connor4312.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Remote URL:

> git config --get remote.origin.url
git@github.com:joaomoreno/test-pr-templates.git

@joaomoreno joaomoreno reopened this Jul 3, 2022
@joaomoreno joaomoreno removed the verified Verification succeeded label Jul 3, 2022
@joaomoreno joaomoreno modified the milestones: May 2022, July 2022 Jul 3, 2022
@vscodenpa vscodenpa removed the insiders-released Patch has been released in VS Code Insiders label Jul 3, 2022
@joaomoreno
Copy link
Member

@connor4312 Can you give me exact steps?

joaomoreno added a commit that referenced this issue Jul 3, 2022
@joaomoreno
Copy link
Member

joaomoreno commented Jul 3, 2022

I think I figured it out: #154008

@joaomoreno joaomoreno removed the help wanted Issues identified as good community contribution opportunities label Jul 3, 2022
joaomoreno added a commit that referenced this issue Jul 4, 2022
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jul 4, 2022
@joaomoreno
Copy link
Member

Verification:

  1. Run Git: Clone and clone https://github.com/joaomoreno/test-pr-templates/
  2. Create a branch
  3. Make a change to README.md and commit
  4. Attempt to push/publish that branch. Code should tell you that you can't push to that repo and will offer to fork the repository, accept.

@rzhao271 rzhao271 added the verified Verification succeeded label Jul 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 18, 2022
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 github Github extension insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants