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

Holding shift on repo will switch to fork if one present #4

Open
matthewmcgarvey opened this issue May 19, 2021 · 1 comment
Open

Comments

@matthewmcgarvey
Copy link
Owner

I hate having to go to my fork and then click the link to go to the main repo

@matthewmcgarvey
Copy link
Owner Author

matthewmcgarvey commented May 19, 2021

The normal list authenticated user's repositories doesn't return the url of the forked repo's parent. If you call Get Repository it returns the parent object with an html_url property with the url.

The get repository url is the url property in the user's repository list item.

Fetch the repository if fork is true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant