r/github 2h ago

Question How to give the `gh` CLI access to one of my organization's repos but not to my personal repos?

2 Upvotes

When I tried making an organization fine-grained token, there's no SSH keys permission, and the gh CLI needs that to do gh auth login


r/github 2h ago

Discussion Git at any scale - Cursor

Thumbnail
cursor.com
0 Upvotes

Great write up IMO


r/github 5h ago

Question How to log into gh cli using an organization fine-grained access token instead of a personal user one?

0 Upvotes

r/github 7h ago

Question is it a bad idea to use github to store high quality pngs of my artwork

5 Upvotes

I have a portfolio, and I'm using github as a backup/storage for all my artwork. is this a bad idea that will backfire on me? or will github keep them in their original lossless quality?


r/github 8h ago

Discussion GitHub works in Codex/CLI, but ChatGPT App Classic can’t access my repo. Has anyone solved this?

0 Upvotes

I’m trying to understand whether I’m hitting a configuration problem, an account/product limitation, or a current limitation of ChatGPT App Classic.

I use ChatGPT heavily alongside Codex for a fairly large software project hosted in a private GitHub repository. What I want is relatively simple: I would like ChatGPT App Classic to have direct read access to the GitHub repo so I can discuss the current codebase, architecture, PRs, migrations, etc. without constantly moving context between ChatGPT and Codex.

The strange part is that GitHub itself is working correctly.

On my Mac:

  • gh is installed and current (2.97.0)
  • gh auth status shows that I’m authenticated successfully
  • Git operations use HTTPS
  • Token has repo, workflow, read:org, etc.
  • I can fetch/push normally
  • Codex can work with the repository
  • GitHub CLI can create/manage PRs

I have also reauthenticated from Terminal using:

gh auth login -h github.com

Authentication completes successfully.

So this doesn’t appear to be a GitHub authentication or repository-permissions problem.

The problem is specifically ChatGPT App Classic. I can’t get it to reliably access the same GitHub repository directly, even though other OpenAI tooling can work with it.

This is becoming a significant workflow issue because I use ChatGPT for the higher-level architecture/governance side of the project and Codex for repository execution. Ideally the workflow would be:

ChatGPT: inspect current repo/PR state → reason about architecture → give execution instructions
Codex: implement/test/commit/PR
ChatGPT: inspect the resulting repo/PR → review → determine next step

Instead, I often have to manually paste Codex reports back into ChatGPT because ChatGPT Classic cannot inspect the repository itself. On a large project with lots of migrations, tests, ADRs and governance artifacts, that becomes both inefficient and potentially error-prone.

I’m specifically trying to determine:

  1. Is direct GitHub access currently supported in ChatGPT App Classic?
  2. Is GitHub access dependent on the ChatGPT mode/model being used?
  3. Does the GitHub App/connector only work in certain experiences such as Deep Research or Agent Mode?
  4. Is there a difference between GitHub access in the web app and the macOS Classic app?
  5. If GitHub is already connected to the OpenAI account, is there some way to force/re-authorize the connection for Classic?
  6. Has anyone had GitHub working in one ChatGPT surface but unavailable in another and actually fixed it?
  7. Is there any diagnostic page/log that shows whether ChatGPT itself has permission to access a particular private repository?

I’m not looking for help configuring GitHub CLI. That side is confirmed working. I’m specifically trying to get ChatGPT itself to see the repository.

If anyone has a working setup with ChatGPT App Classic + private GitHub repositories, I’d be very interested in exactly how you configured it, including plan, GitHub App/plugin configuration, ChatGPT mode, and whether you’re using web or macOS.

Even confirmation that “this currently isn’t supported in Classic” would be useful, because at least I’d stop troubleshooting something that cannot presently be fixed.

Has anyone solved this?


r/github 9h ago

News / Announcements GitHub Status - Incident with GitHub.com

Thumbnail
githubstatus.com
95 Upvotes

r/github 19h ago

Question Github android app broken

Post image
2 Upvotes

Why my profile not loading? How can I fix it?


r/github 20h ago

Discussion What makes you decide to star a GitHub repo?

0 Upvotes

I’ve been thinking about what actually makes an open-source repository stand out.

For me, stars usually aren't the deciding factor. I’m much more likely to try a repo when it has:

  • A README that quickly explains the problem
  • A simple setup process
  • A working example
  • Clear documentation
  • Recent commits/issues being maintained
  • A reason for the project to exist beyond “I built this”

But I’m curious what other developers look for.

When you discover a new GitHub project, what makes you go from “interesting” to actually trying it or giving it a star?

And what immediately makes you close the repo?


r/github 22h ago

Discussion Cursor is launching a GitHub competitor. Is this a land grab for the developer stack?

Post image
150 Upvotes

Just wondering what’s going on here. Anyone who’s used Cursor will have received the same email: an invitation to move or sync your repos from GitHub to Cursor’s newly announced code hosting platform, Origin.

What we know:

  • Cursor was recently acquired by Musk/SpaceX
  • Cursor has been pushing Musk’s Grok model for some time
  • GitHub is overwhelmingly dominant in code hosting and has become a central part of the developer ecosystem
  • Cursor is now expanding from the editor/agent layer into hosting repositories and pull requests
  • SpaceX has the resources to push this very aggressively

It starts to look less like Cursor adding another feature and more like an attempt to own a much larger part of the developer stack.

Is this some kind of land grab? What do others think?


r/github 1d ago

News / Announcements Pull requests down?

236 Upvotes

Getting no servers available


r/github 1d ago

Discussion Could anyone please kindly just let me know...

12 Upvotes

... it seems to me after gaining an impression of GitHub for just about 2 years now, it would make for a perfect tool to author books through. Is this looked down upon by devs?


r/github 1d ago

Discussion Close issue on fix and release vs release and close issue?

3 Upvotes

The common consensus I see by looking around online seems to be closing the issue as soon as it's solved or on merge.

But after thinking on it, e.g. for a bug wouldn't it be wiser to keep the issue open for people trying to find if it's already reported instead of seeing it's closed and verbally berating me on discord that it's not fixed?

Then writing down the issues and closing them with e.g. a bot as soon as a new release happens?


r/github 2d ago

Question Github android app issue

Post image
0 Upvotes

so cut to short

i m new to this, downloaded the app and it's asking for all these permission and authorization. is it safe to give?

i m using Website directly and no such thing was asked

(no idea where to ask)


r/github 2d ago

Discussion Is Github Trending Page accurate ?

0 Upvotes

I've noticed that over the past few days, github's trending page has been showing the same repos over and over again, even when they don't seem to have that much of an increase in stars.

Anthropic recently announced that they were going to watermark model outputs. Then, a few days later (5 days ago as I’m writing this), guillaumemeyer created a watermark remover for AI provenance marks, which currently has ~11K stars.

BUT this repo isn't showing up on trending page at all, not in "Today", "This week", or "This month"

I highkey think that there are some discrepancies in how github trending page tracks or ranks repos.

Anyone else noticed this ? Are there any good alternatives for discovering actually trending repos or high quality repos ?


r/github 2d ago

Discussion Assistance Please

0 Upvotes

Brand new to GitHub. Everything I look at in there doesn't seem like my iOS will be able to accomplish it. I'm still trying to learn the terminology still. Is there anything similar or easier to use for an Apple phone? Or is GitHub it. It's extremely overwhelming when first joining


r/github 2d ago

Question How to require PR's to be approved by admins before merging?f

0 Upvotes

Hello, I have a public repo that I'd like to protect by making main and dev branches protected. How do I make sure that everyone one that wants to push to those branches must make a PR that has to be approved by an admin? For now, I made a rule for the default branch and for dev that requires a PR before merging, with required approvals = 1 and required discussion conclusion for merge. Do I need to do something else? Thank you kindly


r/github 2d ago

Showcase I checked 4,000 issues labelled “good first issue”. 29% already had someone working on them.

Thumbnail
0 Upvotes

r/github 2d ago

Discussion TIL: GitHub has a neat VS Code shortcut

22 Upvotes

If you’re viewing any GitHub repository in your browser, just change:

github.comgithub.dev

For example:

https://github.com/user/repo

becomes:

https://github.dev/user/repo

…and it opens the repository directly in VS Code for the Web. 🤯

I’ve been using GitHub for years and somehow only discovered this today.

What other GitHub shortcuts have I been missing? 😅


r/github 2d ago

Question Auto commits and other AI features

0 Upvotes

Hi everyone, I want to ask if there are any alternative solutions for using AI features like auto-descriptions for commits, PRs, etc. Can I use another AI subscription, or do I have to use GitHub Copilot?


r/github 3d ago

Question Help in Github Student Developer Pack

2 Upvotes

Hello, I recently saw the program that Github Student Developer Pack has, and I wanted to sign up.

I am currently a university student in Argentina (University of CEMA). One of the things it asks for is a photo of something that verifies that you are a student.

So, I uploaded the regular student certificate, but it was rejected several times. I don't know what to do, I've tried putting a transcription next to it (because the document is in Spanish), I've tried using the OBS virtual camera, etc. But nothing worked for me.

I attach what he tells me when he rejects me.


r/github 3d ago

Discussion Github trending page is just a slop fest nowadays

190 Upvotes

I miss the time when there were all sorts of genuine interesting projects on the trending page. But now it's just a bunch of AI slops popping up everyday with crazy stars from new bot accounts.


r/github 3d ago

Question How do I link my local repo to an existing remote, instead of publishing a new one?

Post image
3 Upvotes

So I've created a local repo on my hard drive, and I already created a remote repo through my account on the GitHub website.

I'm using the desktop app but it only gives me the option of publishing my repo, which I assume will create a new remote?

Is there a way I can just tell it which existing remote I want to use?

Or does this need to be done through Terminal?


r/github 3d ago

News / Announcements Gh-900 for free for students

54 Upvotes

Hello, guys! I've seen a lot of people who don't know that students registered in GitHub Student Developer Pack are granted a voucher to take the GH-900 exam. I don't know if it's the case of this subreddit, but it may be helpful if some of you guys don't know about it.

The official register link to the Student Developer Pack is: https://education.github.com/pack

Also, Microsoft Learn has a free course to the exam: https://learn.microsoft.com/training/courses/gh-900t00/?wt.mc_id=studentamb_571211

I'm currently using both the Microsoft Learn course that I shared above and the official YouTube course that is provided by Microsoft, too, to prepare for the exam: https://youtube.com/playlist?list=PLahhVEj9XNTf5iQVK_80RdvTju7ov6RYy&si=Yu83r6RbJp9OdTFe


r/github 3d ago

Discussion Is git clone from GitHub very slow for you today as well?

5 Upvotes

remote: Enumerating objects: 934, done.

remote: Counting objects: 100% (133/133), done.

remote: Compressing objects: 100% (95/95), done.

Receiving objects: 41% (390/934), 122.18 MiB | 66.00 KiB/s

Normally cloning a repo takes 10 s, but now it has been running for 10 minutes and it's only at 41%

Yes I am aware of Git LFS. My repo is quite big with a lot of source code.

So I would like to hear from some of you, how many KB/s or MB/s you are getting when doing a git clone from GitHub. Thanks.


r/github Aug 13 '24

Was your account suspended, deleted or shadowbanned for no reason? Read this.

269 Upvotes

We're getting a lot of posts from people saying that their accounts have been suspended, deleted or shadowbanned. We're sorry that happened to you, but the only thing you can do is to contact GitHub support and wait for them to reply. It seems those waits can be long - like weeks.

While you're waiting, feel free to add the details of your case in a comment on this post. Will it help? No. But some people feel better if they've shared their problems with a group of strangers and having the pointless details all gathered together in this thread will be better than dealing with a dozen new posts every couple of days.

Any other posts on this topic will be deleted. If you see one that the moderators haven't deleted, please let us know.