How To Access Private and Deleted Github Repositories Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น •

  • @t0m0b0nes
    @t0m0b0nes 5 หลายเดือนก่อน +512

    The title seems to be a bit overexaggaerated, it is not ANY private/deleted repo but it must be a private/deleted fork of a still existing public repo

    • @davidt01
      @davidt01 5 หลายเดือนก่อน +22

      looks like it's been changed

    • @t0m0b0nes
      @t0m0b0nes 5 หลายเดือนก่อน +12

      Wow, this was fast! 👍👍

    • @xl0xl0xl0
      @xl0xl0xl0 5 หลายเดือนก่อน +46

      It's complete clickbait. You can't make a private fork of a public repo for that very reason. So the issue is, you made a public fork of a public repo, made a bad commit that you now can't completely purge from the data shared between repos. Well, who's fault is that?

    • @davidt01
      @davidt01 5 หลายเดือนก่อน +14

      @@xl0xl0xl0 Yes exactly. But another caveat is if you originally have the repo private, then make it public, any internal forks of the repo before it was made public are still accessible publically. But that's really no different than accessing the commit history, since that's just how git works. Also, even if you never sync your fork with the upstream, the commits of the fork are still accessible from the root (but again, that should kind of be expected when you think about it).

    • @xl0xl0xl0
      @xl0xl0xl0 5 หลายเดือนก่อน

      @@davidt01 are you sure? I don't think you can make a repo private if it has public forks. Edit: read it the other way around.

  • @davidt01
    @davidt01 5 หลายเดือนก่อน +114

    Basically, forks are not clones. Forks are like some kind of top-level branches above each repo branch.

    • @MsSoldadoRaso
      @MsSoldadoRaso 5 หลายเดือนก่อน +1

      So, if the original repo is modified then my forked repo will also be modified?

    • @federicogalvagni2332
      @federicogalvagni2332 5 หลายเดือนก่อน

      ​@@MsSoldadoRasono it's like a copy of the original repo.

    • @roelant8069
      @roelant8069 5 หลายเดือนก่อน +7

      @@MsSoldadoRaso No, just like a commit is not automatically applied to every branch. You can merge any updates to the original repo into the forked repo though

  • @gwky
    @gwky 5 หลายเดือนก่อน +275

    Microsoft be like “we brought recall to GitHub to enhance the user experience” or some variation of Julian Smith’s “I made this for you!”

    • @Jinnyfir
      @Jinnyfir 5 หลายเดือนก่อน +5

      Give him the Malk, Josh

    • @joshuan.
      @joshuan. 5 หลายเดือนก่อน +4

      ​@@Jinnyfir, inside voices please

    • @Jinnyfir
      @Jinnyfir 5 หลายเดือนก่อน +3

      ​@@joshuan. Sorry, dad... my white friends ...

  • @James2210
    @James2210 5 หลายเดือนก่อน +143

    This is just Git. If you push your API key to a repository, it's on the Internet forever.

    • @Kermit2k
      @Kermit2k 5 หลายเดือนก่อน +35

      Doesn't generate the same outrage bait if you don't mention Microsoft.

    • @toooes
      @toooes 5 หลายเดือนก่อน +12

      I cast force push delete commit

    • @krtirtho
      @krtirtho 5 หลายเดือนก่อน +6

      @@Kermit2k This is just Microsoft® Git. If you push your API key to a repository, it's on the Internet forever.

    • @averagejoey2000
      @averagejoey2000 5 หลายเดือนก่อน +1

      ​@@toooeseven that is just a commit reversing that commit. I'm not even sure if the stuff like filter-repo gets the kill for real

    • @CurryHow
      @CurryHow 5 หลายเดือนก่อน +5

      Wrong. BFG cleaner will do the job. This is a problem with forking, a GitHub feature, not a Git feature.

  • @leofun01
    @leofun01 5 หลายเดือนก่อน +82

    It's not a bug. It's normal behavior, as expected. All hashes are public, even if your repo is private.

    • @xl0xl0xl0
      @xl0xl0xl0 5 หลายเดือนก่อน +31

      It's not, a private repo is private, but data is shared between forks - for that reason you can't make a private fork of a public repo and vice versa.

    • @SourceHades
      @SourceHades 5 หลายเดือนก่อน

      @@xl0xl0xl0 is right, commits are not public but their hashes are the same across repo's

    • @penguin1714
      @penguin1714 5 หลายเดือนก่อน +3

      I mean they could make it to where if your repo is private and then you fork it, you lose commit history. That would kinda make the fork kinda useless but whatever

    • @benargee
      @benargee 5 หลายเดือนก่อน

      ​@@xl0xl0xl0 serious software companies should be self hosting their repos.

    • @marcelplch8725
      @marcelplch8725 5 หลายเดือนก่อน

      @@penguin1714 Never ever tamper with git history that has already been shown publicly.
      Even if it seems to have benefits, you will cause fire and flames among anyone using that code.

  • @soullessginger3187
    @soullessginger3187 5 หลายเดือนก่อน +97

    Hacked the algorithm

  • @rch5395
    @rch5395 5 หลายเดือนก่อน +133

    I use arch btw.

    • @Spluub
      @Spluub 5 หลายเดือนก่อน +26

      femboy

    • @Skelterbane69
      @Skelterbane69 5 หลายเดือนก่อน +8

      I use artix, btw.

    • @kvykimo
      @kvykimo 5 หลายเดือนก่อน

      ​@@Skelterbane69runit?

    • @tetonis2452
      @tetonis2452 5 หลายเดือนก่อน

      @@Skelterbane69 you must think you are so much better huh? well I got news for you. you are a flippin nerd!

    • @phrogtesem9410
      @phrogtesem9410 5 หลายเดือนก่อน +4

      I use mint, btw

  • @piked86
    @piked86 5 หลายเดือนก่อน +139

    So does that mean I can get into the yuzu repo?

    • @noahwaaga5079
      @noahwaaga5079 5 หลายเดือนก่อน +18

      Lol my exact thought before I opened the vid

    • @wayge
      @wayge 5 หลายเดือนก่อน +36

      Yeah but you can also just fork one of the hundreds of forks and save yourself from the headache of finding commit hashes

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx 5 หลายเดือนก่อน +10

      isn't zuyu still online and continuing from where yuzu left off? (legit don't know, not a nintendo guy so I don't use those emus)

    • @Skelterbane69
      @Skelterbane69 5 หลายเดือนก่อน +10

      I switched to ryujinx, for obvious reasons and it's actually way better, imo.
      Way more games that can be ran and they also run much smoother.

    • @piked86
      @piked86 5 หลายเดือนก่อน +6

      Calm down guys. I pulled it from the AUR after the court decision. It was there for a little while. It's not really hard to find if you look. I was making a joke.

  • @MithicSpirit
    @MithicSpirit 5 หลายเดือนก่อน +21

    Isn't this well-known? I thought everyone knew that forks had the same visibility as the parent repo.

    • @davidt01
      @davidt01 5 หลายเดือนก่อน +4

      I guess it's surprising to people that deleting the fork doesn't delete the commits. But really, it's no different than branches I guess.

    • @HinaraT
      @HinaraT 5 หลายเดือนก่อน +3

      It was for me a known fact since a guy made some shady commit in a fork of linux source tree and commiting it in his repo in Linus Tornvalds name, as such by using the same URL trick you could think that Linus made a commit implemeting a backdoor.
      That's even why they added the warning about the commit not being from the repository.

    • @Kermit2k
      @Kermit2k 5 หลายเดือนก่อน +8

      @@davidt01 but that's the whole reasoning behind git to keep a history of everything. The video could be as simple as if you leak your private keys the only solution is to change your keys. End of video. But that doesn't generate the same level of engagement.

    • @davidt01
      @davidt01 5 หลายเดือนก่อน +2

      @@Kermit2k Right, but it was surprising to most people because they thought their forks were like clones, and that deleting would remove the data.

    • @rnts08
      @rnts08 5 หลายเดือนก่อน +1

      Consider how many Javascript "devs" out in the world use github, do you think they know how git works? Heck most devs don't even know how git works. No one should be surprised that your stuff is going to be leaked if it's on the internet. The cloud and all SaaS is just someone else's computer.

  • @dandyddz
    @dandyddz 5 หลายเดือนก่อน +8

    6:30 it doesnt work for private commits, right?

  • @papakamirneron2514
    @papakamirneron2514 5 หลายเดือนก่อน +39

    Quite a few bots in this comment section, why though? Doesn’t sound like any Mental Outlaw viewer would fall for them and I haven’t seen them around previously…😊

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx 5 หลายเดือนก่อน +20

      well, It's literally bots, they post in a blink, not like commenting takes them some time or anything
      also you'd be surprised by MOs reach, plenty of less tech-literate people from 3rd world countries watch his videos where applicable

    • @syriuszb8611
      @syriuszb8611 5 หลายเดือนก่อน

      I don't think they are researching a ton before they unleash the bots. They probably automatically target videos on topic they choose with enough number of views.
      Also, anyone who thinks he would never fall for X, opens himself to fall for X.

    • @nicomoron001
      @nicomoron001 5 หลายเดือนก่อน +9

      @@xxXXuser69420XXxx yeah I am from a 3rd world country and I am here to BECOME tech-literate

    • @froggin-zp4nr
      @froggin-zp4nr 5 หลายเดือนก่อน +2

      You're mistaking low effort comments for AI. Easy mistake to make.

    • @nbdynothing
      @nbdynothing 5 หลายเดือนก่อน

      ​@@xxXXuser69420XXxxpretentious i see

  • @flleeppyy9959
    @flleeppyy9959 5 หลายเดือนก่อน +109

    thats.. just how git works...

    • @Name-gi8dr
      @Name-gi8dr 5 หลายเดือนก่อน

      No, that's how GitHub works.
      Git works like this because it's not designed for this. And GitHub is too lazy to fix it

    • @BrokeBillionare
      @BrokeBillionare 5 หลายเดือนก่อน +12

      You mean GitHub. Git is more of a open source version control too.

    • @ishid_anfarded_king
      @ishid_anfarded_king 5 หลายเดือนก่อน +30

      @@BrokeBillionare nah this is how git works

    • @joopie46614
      @joopie46614 5 หลายเดือนก่อน +30

      Ngl he started yapping so I zoned out a few minutes in, but from what I've heard this isn't a bug. Every SE that's ever used Git would tell you that's basically what Git is all about.
      Not sure why he mentions API keys at all, pushing API keys to Git/GitHub is bad practice and is only done by incompetent companies/developers, so this is not a concern at all.

    • @davidt01
      @davidt01 5 หลายเดือนก่อน

      @@joopie46614 Because that's what the original article mentions. It's actually pretty common for people to fork a repo and then add their own secrets. But the scary part is deleting the fork doesn't delete the commits in that fork. Yes, it's not a bug, it's just how git and Github works, but a lot of people aren't aware of this.

  • @jabrowski_
    @jabrowski_ 5 หลายเดือนก่อน +3

    Mental ur the goat. Have a great weekend. Watched all the way through

  • @DankoStojanovic
    @DankoStojanovic 5 หลายเดือนก่อน +3

    If you commit any sensitive data like keys you should create new ones and make sure existing ones no longer work. That is just industry best practice. Is this "never delete" policy good? Maybe not, but you still have a way to protect yourself from this particular issue.

  • @blackpiller3777
    @blackpiller3777 5 หลายเดือนก่อน +6

    If the repo was created as private and remains private how this "bug" will occur?

  • @marsovac
    @marsovac 5 หลายเดือนก่อน +2

    Secrets are usually not commits in the repo (and never should be) but a setting on organization level.
    Devs using Github do not need access to the key but the name of the key that somebody set as secret in the organization to reference it in the build and integration process. And for their local use they can use another development only key, which if committed can be easily revoked.
    I understand that this feature loads the gun with which dumb devs can shoot themselves in the foot, but I don't think Microsoft is to blame if that happens.

  • @trailblazingfive
    @trailblazingfive 5 หลายเดือนก่อน +49

    Nobody pushes anything of value to github anymore since they used all that code to train copilot

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx 5 หลายเดือนก่อน +17

      bruh as if anyone cared, maybe organizations but every single dev is still on gh with the schizos on gitlab

    • @trailblazingfive
      @trailblazingfive 5 หลายเดือนก่อน +11

      @@xxXXuser69420XXxx plz pull something new, try to build it fingers crossed that it works. There has been a new phenomenon where ppl publish coding books with coded partially generated by LLMs which doesn't work. IMO the snake started eating it's own tail.

    • @trailblazingfive
      @trailblazingfive 5 หลายเดือนก่อน

      @@xxXXuser69420XXxx as for orgs, everyone has a private repo behind a VPN and an admin that locks ppl out once they are out of the project

    • @BoDiddlydodah
      @BoDiddlydodah 5 หลายเดือนก่อน +1

      ​@@trailblazingfiveso where are top devs pushing their work to now?

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx 5 หลายเดือนก่อน

      @@trailblazingfive yep, when I noticed Gemini Pro replies were super long, I decided to "teach myself rust" by having it write a program/index for an book then writing the "academic level rust" book itself... a couple lessons in and a few programs after Hello World, the code was completely useless.
      Same thing when I tried to learn Gradio, it kept writing 150 lines for a shared password protected hello world, I then read Gradio's docs and getting a shared, protected helloworld gradio app was literally like 4 lines of code lol

  • @kingeling
    @kingeling 5 หลายเดือนก่อน +38

    Mentos Outlaw

  • @unixmind
    @unixmind 5 หลายเดือนก่อน +2

    You can alternatively mirror your github repos on gitlab, codeberg, gitea, or even self-hosted instances. So you don't have to ditch all of the cool github CI/CD features

    • @Kermit2k
      @Kermit2k 5 หลายเดือนก่อน +1

      The same issue happens on other version control system products.

  • @anonanon6596
    @anonanon6596 5 หลายเดือนก่อน +2

    It might be just in my head but you sound more well articulated than usual in this video.

  • @SArthur221
    @SArthur221 5 หลายเดือนก่อน

    in git, where you are the only party who has access to you repo, this is indeed a feature and works as intended (until the commit gets gc'd), but on github, this is an issue.
    this is why i told my old company they will need to change their secret api key if they ever make the repo public, not just delete it,

  • @Freedom4Ever420
    @Freedom4Ever420 5 หลายเดือนก่อน +2

    Copy and paste is such an advanced black hat hacking tool

    • @Jango1989
      @Jango1989 5 หลายเดือนก่อน

      Fr

    • @Sprinkles-r5y
      @Sprinkles-r5y 5 หลายเดือนก่อน

      Till those pesky sites interfere with no right click features, really messes the nefarious vibe.

  • @idontwantachannelimjustcom7745
    @idontwantachannelimjustcom7745 5 หลายเดือนก่อน +1

    Now, I need to scan data hoarder for a copy of banned github projects that have been recovered. I think there were a few youtube plug-ins in this category.

  • @jonb4333
    @jonb4333 5 หลายเดือนก่อน

    Huh, I thought I noticed this on enterprise a few months ago where I could see commits of deleted branches. I figured it’s just zombie commits hanging out server side, but the fact this is an issue with privacy and not considered a bug is worrisome.

  • @Zyph2
    @Zyph2 5 หลายเดือนก่อน +3

    Thank you, I actually really needed this

  • @ardnys35
    @ardnys35 5 หลายเดือนก่อน +7

    that's no github bug, it about git and it's still not a bug. i don't know git internals well but there are a few things about commits.
    first, under no circumstances should anyone commit secrets like API keys or passwords. that's no different whatever source control you use maybe except an internal one.
    i've read that once you push a commit to github it's not possible to delete it. you can delete commits but they will still be in github servers. or so i've read. (turns out that is false. check replies)
    think 5 times very carefully when you are working with git and secrets.

    • @sutirk
      @sutirk 5 หลายเดือนก่อน +1

      Github itself has a doc teaching how to erase secrets (rewriting commit history,modifying blobs and force pushing)
      If i remember correctly the last step is to contact GitHub and ask for a specific commit to be purged from their servers. I wonder if this would actually delete the commit/blob globally for all the forks, or only for the repo you specifically asked

    • @ardnys35
      @ardnys35 5 หลายเดือนก่อน +1

      @@sutirk it seems they can't delete those from forks. from docs:
      If the commit that introduced the sensitive data exists in any forks, it will continue to be accessible there. You will need to coordinate with the owners of the forks, asking them to remove the sensitive data or delete the fork entirely.

  • @josueramirez7247
    @josueramirez7247 5 หลายเดือนก่อน

    It’s an attack vector, but apparently this behavior is described in GitHub’s documentation: Pull requests / Collaborate with pull requests / Working with forks

  • @americanbagel
    @americanbagel 5 หลายเดือนก่อน +1

    This is why I host my own gitea server for anything sensitive

  • @MrSongib
    @MrSongib 5 หลายเดือนก่อน +2

    7:45 This should not be the standard for open source. It's already to open enough. It feels more jank now. XD

  • @stage6fan475
    @stage6fan475 5 หลายเดือนก่อน +1

    algorithm. Kenny, have your chickens been behaving better than our giant software corporations?

  • @louiestonanto
    @louiestonanto 5 หลายเดือนก่อน +5

    I think this really actually is by design not just for gh.. I once tried uploading all my backups of videos on facebook on a burner account so I can watch them anytime, including some of the anime I wanted to watch just to see what would happen. Though the anime would be taken down eventually due to copyright, I made a copy of the autogenerated URLs beforehand on a spreadsheet (I also intended to share them with friends lol) and I found I could still watch them only on that burner account. I think big companies never really delete anything on their servers for any potential lawsuits they might encounter in the future, and so they just make it inaccessible but all the data is still there on their servers. However the content should not be accessible to just anyone with the hash. They need to patch that lol

  • @duser
    @duser 5 หลายเดือนก่อน +4

    Yuzus back bois

  • @JPs-q1o
    @JPs-q1o 5 หลายเดือนก่อน +2

    Mental Outlaw is a Subtext-Fu Master!

  • @alzeebum
    @alzeebum 5 หลายเดือนก่อน

    If you're a developer who hasn't yet learned you don't check secrets into a source control repo, ANY source control repo, you deserve exactly what will inevitably happen to you.

  • @godly_wisdom777
    @godly_wisdom777 5 หลายเดือนก่อน +4

    so is it possible to get the original tornado cash repo ??

  • @uniqueprogressive9908
    @uniqueprogressive9908 5 หลายเดือนก่อน

    I knew about this for ages, i remember downloading a minecraft bot that got deleted on github with it

  • @bashisobsolete.pythonismyn6321
    @bashisobsolete.pythonismyn6321 5 หลายเดือนก่อน

    video Suggestion: a quick fossil tutorial that a child could follow. there really ought to be a guide that's simple, straightforward and fairly comprehensive. But I was shocked at the utter lack of such media. if you made a good 3 part series from zero to hero, that would probably become the #1 fossil resource in the anglosphere. no exaggeration.

  • @zolvaring9503
    @zolvaring9503 5 หลายเดือนก่อน +1

    You can report this stuff without clickbaiting or sensationalizing it. You can't spread awareness if you get tuned out.

  • @CodeEnthusiast78912
    @CodeEnthusiast78912 5 หลายเดือนก่อน +1

    if your repo is always private then it is safe as far as I understand

  • @RoofusRoof19
    @RoofusRoof19 5 หลายเดือนก่อน

    How else would microsoft leak the google search algorithm if they didn't have this "feature"

  • @Wakooify
    @Wakooify 5 หลายเดือนก่อน

    It's a bit more than 16^4, it's 64^4 combinaison to brute force a sha1 hash of 4 characters long. At 16 the collision risk would be too high.

    • @shadamethyst1258
      @shadamethyst1258 5 หลายเดือนก่อน

      Where do you get this 64 from?

  • @luciphonicverdigris3149
    @luciphonicverdigris3149 5 หลายเดือนก่อน

    Oooh, some glowing gate keeping dragons be here. Bad opsec for a first post, but I don't mind. All Hail The Outlaw!

  • @linuxshawty
    @linuxshawty 5 หลายเดือนก่อน

    Wild West approach I like it

  • @darkWolf354
    @darkWolf354 5 หลายเดือนก่อน

    It's more hard to undestand a running system using old and extensive data than it is to break the current one security... any big enterpreise piece of application with 3 years old code is missing to many updates to be much useful at all.
    Your company took 2 years to change from server side authentication to client side authentication, and you catch the 1 year of code updates... how great!

  • @gd44481
    @gd44481 5 หลายเดือนก่อน

    Are you gonna talk about the secure boot key leak?

  • @sonOfLiberty100
    @sonOfLiberty100 5 หลายเดือนก่อน

    In my opinion companies are trying everything to not to pay bug bounties.

  • @cynth4941
    @cynth4941 5 หลายเดือนก่อน

    Serious question, what happens if someone uploads like CP or revenge corn to a fork on Github?
    Not trying to ragebait, but genuinely curious, it's impossible to delete? That shit will stay on their servers forever?
    (I know you can't upload huge videos to Github, but images do work).

  • @NicholasHickam
    @NicholasHickam 5 หลายเดือนก่อน +2

    Does GitLab inherit this flaw?

    • @Dipj01
      @Dipj01 5 หลายเดือนก่อน

      Exactly, I'm curious now

  • @NekoiNemo
    @NekoiNemo 5 หลายเดือนก่อน +1

    What the fork, GitHub?

  • @skitsschist11
    @skitsschist11 5 หลายเดือนก่อน +17

    Your videos are always so informative and interesting! I am going to push a kernel-crashing bug to production! ☺️💻

    • @juho1882
      @juho1882 5 หลายเดือนก่อน

      are you bot?

  • @ywueeee
    @ywueeee 5 หลายเดือนก่อน

    wait even for the private one, wouldn't it have the same issue. i think that's how git works?

  • @Acor3pl
    @Acor3pl 5 หลายเดือนก่อน

    Honest question: why gitea? is something wrong with gitlab?

  • @graealex
    @graealex 5 หลายเดือนก่อน

    This is such a non-issue. I use SHA1 hashes as access keys without further authentication. Because if you know that key, you either already have the file and its full contents, or you have been brute forcing for about a million years.
    Assuming everything is secured by HTTPS, no MITM will ever have access to the commit hash, but the two parties that already know the contents of the commit.

    • @bashisobsolete.pythonismyn6321
      @bashisobsolete.pythonismyn6321 5 หลายเดือนก่อน

      waaay too complicated. i just print it out and post it on the public noticeboard in the town square. that way, privacy is truly a non issue.

    • @graealex
      @graealex 5 หลายเดือนก่อน

      @@bashisobsolete.pythonismyn6321 Please only speak after consulting your brain.

  • @simonbackwash
    @simonbackwash 5 หลายเดือนก่อน +1

    GitHub on the internet way back machine 👌

  • @potatocrispychip
    @potatocrispychip 5 หลายเดือนก่อน +2

    imagine the possibilities

  • @lte6983
    @lte6983 5 หลายเดือนก่อน

    This is by design, that’s why they warn you.

  • @juanvalcecchi3464
    @juanvalcecchi3464 5 หลายเดือนก่อน +2

    as always, thank you

  • @rotemlv
    @rotemlv 5 หลายเดือนก่อน

    Well it would be literally impossible to just delete the key in this case...

  • @rekire___
    @rekire___ 5 หลายเดือนก่อน +6

    _How many time we have to teach you old man_

  • @ytnukesme1600
    @ytnukesme1600 5 หลายเดือนก่อน

    Microsoft as per usual labels bugs as "features" just to cheap out on bug bounties. they're truly one of the multi-billion tech companies of all time.

  • @NorthEagle
    @NorthEagle 5 หลายเดือนก่อน

    No new information lol. I’m just curious if force pushes actually delete data or also don’t

    • @mxalltheway
      @mxalltheway 5 หลายเดือนก่อน

      if someone knows the hashes force push doesnt help.

    • @NorthEagle
      @NorthEagle 5 หลายเดือนก่อน

      @@mxalltheway isn't the main problem then that github doesn't do garbage collection?

  • @Itchybol
    @Itchybol 5 หลายเดือนก่อน +4

    I dont even know what is forked github whatever 🔥🔥🔥🔥🔥🔥

  • @polarzxo1530
    @polarzxo1530 5 หลายเดือนก่อน +10

    every time 11 huffs fine, 12 huffs poopman come i

  • @CreativeWerxGFX
    @CreativeWerxGFX 5 หลายเดือนก่อน

    Holy crap, talk about sweeping the dirt under the github rug! 😂

  • @TehPwnerer
    @TehPwnerer 5 หลายเดือนก่อน

    Instead of deleting what if you rewrote history? I suppose this is similarly forked and you'd have quite the same problem 🤔

  • @Dgi4zhotsxnofw
    @Dgi4zhotsxnofw 5 หลายเดือนก่อน +9

    Wtf is that thumbnail

    • @piked86
      @piked86 5 หลายเดือนก่อน +6

      A Turk

    • @Kwijibob
      @Kwijibob 5 หลายเดือนก่อน +3

      most definitely not a bug, it's a feature.. yeah

    • @4.0.4
      @4.0.4 5 หลายเดือนก่อน

      A lawyer

  • @MiSt3300
    @MiSt3300 5 หลายเดือนก่อน +33

    Greetings to all the devs out there from 🇵🇱 Poland, a chad EU 🇪🇺 member country!

    • @pedrogorilla483
      @pedrogorilla483 5 หลายเดือนก่อน +11

      Too poor

    • @trinketos
      @trinketos 5 หลายเดือนก่อน +11

      nice joke bro.

    • @MelodyIV
      @MelodyIV 5 หลายเดือนก่อน +3

      💀💀💀💀💀💀💀💀💀💀💀💀💀

    • @smallcube-zn2mm
      @smallcube-zn2mm 5 หลายเดือนก่อน +9

      Me enjoying real tech freedom from Bangladesh because of having no established digital laws at all

    • @exzld
      @exzld 5 หลายเดือนก่อน +12

      Keep that border near Belarus secure. Keep em out

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime 5 หลายเดือนก่อน +4

    Mental Outlaw killing it with all the interesting new content these days

  • @SpartanONegative
    @SpartanONegative 5 หลายเดือนก่อน

    My computer programming college professor flew a helicopter in Vietnam and was one of the people who created the internet in the Army. The only way we could get extra credit in his class was to tell him what the jet stream speed was in the morning 😂 My brother went to school for it repair and had to take ethics..I asked my professor why we didn't take ethics and he said we need to think unethically so we can put up with hackers. My youngest son is 11 and writes his own code. I bought him a nice PC. He builds raspberry pie stuff. Sullivan recovering data if you turn your computer off I'm going to charge you whatever I want over a million dollars to get that stuff back if you don't turn your computer off just leave it alone Frozen I'm not going to charge you that much money to get your data back. If its frize thats good, we can go back. I just learned how to track down data stuck in limbo trying to get uploaded to the cloud but can't be found except for up there in the buffer banks 😂 my teacher taught our class to be dangerous 🙏 Wisconistan 🏴‍☠️🦅

  • @YoKKJoni
    @YoKKJoni 5 หลายเดือนก่อน

    so if your not forking all is good yeah?

  • @JoshPocketwatch
    @JoshPocketwatch 5 หลายเดือนก่อน +1

    Kinda ur fault if u hardcode api keys

  • @RoofusRoof19
    @RoofusRoof19 5 หลายเดือนก่อน +1

    Another day another reason to selfhost your stuff

  • @Alex-ee5pl
    @Alex-ee5pl 5 หลายเดือนก่อน +5

    kenny haccs

  • @mikeb1085
    @mikeb1085 5 หลายเดือนก่อน

    if it was a feature there should be an option to turn it off

    • @mikeb1085
      @mikeb1085 5 หลายเดือนก่อน

      we're lacking options in this world

  • @mrdavi5064
    @mrdavi5064 5 หลายเดือนก่อน +3

    I think that deletion of GitHub repo should delete all commits. This is just bad design. I really hope GitHub will reconsider.

    • @HinaraT
      @HinaraT 5 หลายเดือนก่อน

      Deleting the repo just does the exact same thing as deleting all branches and tags for git, meaning just removing references to commits
      To remove those commit completely you would have to run git gc which has to detect dangling reference in the entire tree, and it would have to do that every time a push is not just a cannot be solved by a fast-forward (deleting branch, rebasing, git push --force)
      You can test this behaviour on your computer and is sometimes use with git reflog to be able to get back a lost commit.
      As for why it does append with forks it's simple fork are in the same repo than the original project (more efficient in space) just having their own references for branches and tags makes a fork just some cloning references and makes things like pull request way more easy to handles as it is the same as a merge/rebase in the same repository.

  • @k98killer
    @k98killer 5 หลายเดือนก่อน

    I host a number of git repos on my Raspberry Pi.

  • @PopescuAlexandruCristian
    @PopescuAlexandruCristian 5 หลายเดือนก่อน

    If you have keys in your repo you kind of deserve this.

  • @G-3-A-R-Z
    @G-3-A-R-Z 5 หลายเดือนก่อน +2

    Gitea works very well

  • @kuzme5988
    @kuzme5988 5 หลายเดือนก่อน

    2018?! bro i thought it was couple of years ago...

  • @mrgeebee1622
    @mrgeebee1622 5 หลายเดือนก่อน

    To bad it's so hard these days to get MXR

  • @Ruhgtfo
    @Ruhgtfo 5 หลายเดือนก่อน

    Found GTA6 source code yet?

  • @nilkonom
    @nilkonom 5 หลายเดือนก่อน +7

    I'm just waiting for the day some rogue intern runs git gc --aggressive on all the repos on github.

  • @kcnl2522
    @kcnl2522 5 หลายเดือนก่อน +1

    Billion dollar hype train AI projects are not opensource on github anyway.

  • @Hotshot24-7
    @Hotshot24-7 5 หลายเดือนก่อน

    How do you know so much about computer science ? I wanna be like you

  • @Levi_OP
    @Levi_OP 5 หลายเดือนก่อน +1

    *Repository's

  • @doctorothon
    @doctorothon 5 หลายเดือนก่อน +3

    liked and commented

  • @gyrgamer8936
    @gyrgamer8936 5 หลายเดือนก่อน +5

    Git gud?

  • @djpuplex
    @djpuplex 5 หลายเดือนก่อน

    Good all the good shit always gets deleted.

  • @calebburke91
    @calebburke91 5 หลายเดือนก่อน

    I hate microsoft just as much as the next arch bro, but this is intended git behaviour

  • @ZANF3R
    @ZANF3R 5 หลายเดือนก่อน

    You def wouldn't be making a billion dollar program if you forget to gitignore any env file holding keys 💀(8:00 you mention it)

  • @Gokhan-er8qv
    @Gokhan-er8qv 5 หลายเดือนก่อน

    who commits their secrets to git? no one should ever do that.

  • @nikolaimarcusandersen165
    @nikolaimarcusandersen165 5 หลายเดือนก่อน

    A bit of a clickbait… It’s very niche and kinda not realistic to do harm in any normal situation

  • @danielgallan5143
    @danielgallan5143 5 หลายเดือนก่อน +5

    typical microsoft

    • @Kermit2k
      @Kermit2k 5 หลายเดือนก่อน

      Typical people that think you can "erase" leaked sensitive information. That's how the internet works, once it's out the box, it will never get back in the box. The only way to address key leaks is to change the keys. What's the point of erasing credentials? You gonna keep reusing them after leaking them in the hopes nobody saw?

  • @evanmcdonnal
    @evanmcdonnal 5 หลายเดือนก่อน +4

    None of this is a vuln in GH. These are Git features coupled with user error. You’re very wrong. GH doesn’t own git. This can all be done on the command line in Git. Microsoft doesn’t own Git. It was made by Linus Torvold and is open source. Ironic since you think open source confers special security features and don’t know how to use Git. People making these mistakes should not be employed and given access to sensitive source code. That is the only solution, unless of course you think commit history in Git should be obfuscated/destroyed to make up for idiot employees leaking secrets.

    • @Dipj01
      @Dipj01 5 หลายเดือนก่อน

      There is nothing in git called 'fork'. Forking is very much a GitHub thing. Ironic how you don't know this basic thing and start spewing nonsense and downplaying risks like you're some know-it-all.
      Github's fork gives an illusion that you're copying a repo, which will make users think whatever they do in their own fork isn't accessible from somewhere else.
      Now reading the docs carefully suggests it's more akin to creating a new branch rather than forking, but again, it's not immediately obvious.
      And everyone knows not to put api keys in source control but mistakes can happen. There should be a way to undo it/privatise it (yes, the most effective way would be to cycle the api key itself, but github should provide a way to protect it just in case).
      If you're so much about not making mistakes and mistakes can only be made by "idiots", I hope you never use your undo button, because you shouldn't even have made a mistake to begin with (cause you're not an idiot are you?).
      An attack vector is an attack vector and downplaying it as skill-issue has only ever caused harm.
      Making things (somewhat) foolproof goes a long in reducing attack vectors.
      This is why we have password validation forcing users not just give 1234 as password and call it a day.
      Please educate yourself on git and cyber security before downplaying risks.

    • @evanmcdonnal
      @evanmcdonnal 5 หลายเดือนก่อน

      @@Dipj01 the user made a bad commit and pushed it remotely. What do you suggest GH do about it? Commit history is a native Git feature and I don’t care what labels GH adds to repos. His commit, if left long enough, is probably in web archives as well. Should GH purge that for you too? Bottom line is you can’t push a bad commit remote, especially to a public repository. This is chiefly a skill issue.

  • @TheSkypeConverser
    @TheSkypeConverser 5 หลายเดือนก่อน +2

    Likes the video

  • @saifbenzamit5980
    @saifbenzamit5980 5 หลายเดือนก่อน +8

    Day 95 of hackking the algorithm

  • @colareimu
    @colareimu 5 หลายเดือนก่อน

    imagine mrbeast reading this

  • @libit2362
    @libit2362 5 หลายเดือนก่อน +2

    Yoo hope this is fr

  • @thetransferaccount4586
    @thetransferaccount4586 5 หลายเดือนก่อน

    delete this video before techlead (as a millionaire) finds out you used his photo

  • @hrr597
    @hrr597 5 หลายเดือนก่อน +2

    Cant wait for it to get patched as soon as this video takes off.