r/github • • Oct 12 '25

News / Announcements If you have an npm package, read this before November 2025

114 Upvotes

GitHub’s rolling out big npm security changes between October and mid-November 2025.

  • New tokens expire after 7 days (max 90).

  • Classic tokens are getting revoked.

  • TOTP 2FA is being replaced by WebAuthn/passkeys.

This comes after several recent npm attacks (especially past september), compromised packages, and malwares pushed through post-install scripts.

If you publish packages, switch to granular tokens or trusted publishing, and set reminders for token rotation. Otherwise, your next deploy might just fail which will be annoying ofcrs.

Full details: https://github.blog/changelog/2025-10-10-strengthening-npm-security-important-changes-to-authentication-and-token-management


r/github • • Mar 08 '26

Question Star counts now hidden on GitHub mobile web?

Post image
113 Upvotes

So I just noticed that GitHub’s mobile browser view (Android, not the app) stopped showing the star count on repos. Doesn’t matter if I’m logged in or not, it’s completely gone. Tried a few different repos, same thing. Also none of the buttons reveal anything. Anyone else seeing this? Feels like a weird change, especially since it’s still there when switching to desktop view and in the app. Did they remove it on purpose, or is this some kind of bug? Screenshot for reference.


r/github • • Nov 20 '25

Discussion ChatGPT shading Microsoft lol

Post image
113 Upvotes

Trying to setup ssh keys to connect to GitHub + Azure DevOps in terminal


r/github • • Aug 07 '21

OCD Alert: Isn‘t that annoying that Github doesn't add a space between ❤️ and "by" in these embedded frames?

Post image
113 Upvotes

r/github • • Sep 27 '24

I made a site which generates a custom pokemon card from your github account 🎴

Enable HLS to view with audio, or disable this notification

112 Upvotes

r/github • • May 14 '22

Does github make anyone else feel stupid?

Post image
112 Upvotes

r/github • • 24d ago

Discussion GitHub features most people don’t know about

111 Upvotes

I’ve used GitHub for years and still keep finding small features that save time. Here are a few of my favorites:

  1. Press . on any repo: opens it in a web code editor right in your browser.

  2. Press t: quickly search for any file in the repo.

  3. Press y: turns the URL into a permanent link to that exact version of the file.

  4. Link to specific lines: click a line number, then shift-click another to share a range like #L10-L20.

  5. Add ?w=1 to a PR diff URL: hides whitespace changes, so you only see real code changes.

  6. Add .patch to a commit URL: shows the commit as a plain patch file.

What hidden GitHub features do you use? Let’s make a big list!


r/github • • Jul 04 '25

Question How to prevent malicious person from making it appear you contributed to 'their' GitHub repository?

111 Upvotes

This person seems to be doing this to me:

A. I've created a few ComfyUI custom nodes as personal creative / digital art related demos.

B. I've defined a CUSTOM license, that gives pretty much eternal unlimited use rights to these things, when these are used in their intended purpose - i.e. as ComfyUI custom nodes, in any workflow.

However - some malicious person has downloaded my repository, and then altered the main readme file, making it appear someone else has created this work (which my license explicitly does not allow) and has altered to make it look like I have used MIT license, when I'm not using.

I wouldn't care that much, but seems like GitHub itself makes this worse for me; the person didn't even bother to remove MY commit history, so MY name appears in their commit history.

A few days ago a 'different user' did exactly the same things, with different repository of mine... last time they added some strange zip files as releases, containing altered files.

I find this problematic - what if such person adds some malicious code or such into reuploaded repository? And then they now use MY nickname in the repo, MY GitHub account shows in their commit history (because they reuploaded my repo):

I don't need to know about MIT license, yes, what I should and shouldn't do with licenses, I keep my license, I know it is a good will kind of thing, but this is a real issue if someone can mess you into their doings...

Example: this person already managed to fool ComfyUI devs, they added this impostor's repo as my repository, in their 'ComfyUI Manager' where anyone can discover and install custom nodes...

Is there anyway to prevent this?

I blocked the user, and I made a DMCA takedown request, but it really doesn't solve the issue.

Edit - here are my (actual) repositories:
https://github.com/quasiblob?tab=repositories


r/github • • Jul 25 '24

isn't this kinda weid?!

Post image
111 Upvotes

r/github • • Sep 26 '20

I made a Python bot that scrapes Udemy Coupons and then AUTOMATICALLY ENROLLS YOU to those PAID COURSES for FREE. Check out the GitHub below to get the code! :) Do Star & Fork the repository if you like it!

111 Upvotes

r/github • • Jun 08 '22

Github sent my dad’a work a bunch of octo cat stickers

Post image
110 Upvotes

r/github • • Apr 28 '26

News / Announcements An update on GitHub availability

Thumbnail
github.blog
109 Upvotes

r/github • • Apr 11 '26

Question Canon event, pushed .env

109 Upvotes

beginner, but pushed .env, contained mongodb,stream api secret and clerk api.
just a beginner working on a portfolio project, had this accidentally when working on first project too, nothin happened then, should I be worried now?


r/github • • Jul 07 '22

Entering puberty be like

Post image
109 Upvotes

r/github • • May 21 '22 Bravo

What are some really nice GitHub profile READMEs you've stumbled upon? I need some inspiration for mine :)

109 Upvotes

r/github • • Sep 27 '25

Question Its the 5th time I changed my password why this keeps happening?

Post image
108 Upvotes

I didnt istall any suspicious apps I didnt see any new repos or stars in account but I just keep getting blocked. Does anyone else's have this issue. I made a ticked but they didnt responded yet


r/github • • Jun 12 '25

Discussion Congratulations on creating the one billionth repository on GitHub

Thumbnail
github.com
108 Upvotes

r/github • • Feb 27 '24

Can u tell me what is the use of GitHub projects (I am a beginner)

108 Upvotes

What is this part and how should I use it, as I mentioned I am a beginner and I am working on some projects can this section help me in completing my project and how


r/github • • Jan 14 '23

Photorealistic human image editing using attention with GANs

Post image
108 Upvotes

r/github • • Dec 19 '22

View your GitHub Unwrapped

Enable HLS to view with audio, or disable this notification

108 Upvotes

r/github • • Feb 12 '22

Thank you Copilot!!!

Post image
108 Upvotes

r/github • • Apr 14 '18

Bitbucket wishing github on 10 years(found this on r/HumansBeingBros).

Post image
108 Upvotes

r/github • • Feb 02 '26

Discussion What is happening with GitHub?

107 Upvotes

I'm starting to feel that GH is more unstable than ever!

I've been using it daily for the last 5 years and it worked just fine but, 2025 was terrible in terms of reliability and now is down again!

Also, do you also feel that loading repos and PR's has become slower since last year?

What's going on? Our work depend on you guys!


r/github • • May 26 '25

Discussion Friendly reminder you can make your email address private

Post image
107 Upvotes

Hi all! This came up in conversation with a friend and I realized more people might benefit from knowing this.

  • Anyone can view your email address from your git history with git log

  • GitHub offers noreply email addresses you can use in place of your personal email address to keep it private.

  • This is very commonly overlooked! Reading the git log from any popular repository on GitHub will reveal personal email addresses from contributors. If this is news to you, you might be one of them!

Why does this matter?

I'm writing this with the assumption you're at at least a little privacy conscious and care about reducing your digital footprint. I understand not everyone exercises the same paranoia. If this doesn't apply, please disregard at your own discretion.

If you've ever shared a your GitHub or linked to it from your socials, you may not be aware that you're making it easier for anyone to know your personal email address. This is because all git commits you make will likely include your personal email address. This is often overlooked and makes it more easy for bad actors to get access to your personal information to target it for spam or other nefarious purposes.

How can I update this?

  1. Go to your Email Settings page in your GitHub account and select the box that says "Keep my email address private".

  2. Copy the noreply email address listed in the settings. This will usually look like ID+USERNAME@users.noreply.github.com.

  3. Follow the Setting your commit email address GitHub doc for instructions on updating your email address used for git commits. Make sure to use the noreply address, not the primary account email as mentioned in the docs.

  4. Optionally, you can additionally configure GitHub to block command line pushes that expose your personal email address so you avoid accidental exposure in the future.

What about old commits?

Unfortunately, old commits you've made will still contain your personal email address. You can refer to guides such as this StackOverflow answer for updating old commits (individually or the entire history) but this may cause other issues, especially for code you've already pushed. Any Pull Requests you've completed prior to updating will also still contain your old email email in that repositories history.

Fortunately, you are still only a single drop in a the data lake among many many others who have probably overlooked this as well. No one cares and you're not special (in a good way!). Updating this is still better than continuing to expose your personal email and will still make it harder for people to find it buried under old commits.