Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Whoa, cloned it just in time, with literally minutes to spare!


Share if you can!


``` git clone https://github.com/irfanhakim-as/yuzu-mainline git fetch origin 537296095ab24eddcb196b5ef98004f91de9c8c2 ```

It seems that GitHub still serves the commit history through the existing forks of the repo. According to archive.org, this commit corresponds to the last release of yuzu-mainline before the repo takedown: http://web.archive.org/web/20240304185516/https://github.com...


If you already have a copy of the original repo, add this as another remote with:

``` git remote add irfanhakim-as https://github.com/irfanhakim-as/yuzu-mainline git fetch irfanhakim-as 537296095ab24eddcb196b5ef98004f91de9c8c2 ```

Then if you want the commit to look like the latest one for the original repo edit the file `.git/packed-refs`. Mine now looks like:

``` # pack-refs with: peeled fully-peeled sorted 537296095ab24eddcb196b5ef98004f91de9c8c2 refs/remotes/origin/master ```

(Be careful with raw editing git files. There might be a more 'official' way to do it, but this worked for me)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: