Hacker News new | ask | show | jobs
by namanaggarwal 1810 days ago
Question: What did,"https://api.github.com/repos/actions/docker/tarball/76ff57a" had anything to do with the OPs fork? Shouldn't it just point to the original repo which didn't had the clashing commit ?
3 comments

It's a space-saving mechanism; since forks are extremely common, sharing commit trees across all of GitHub makes the forking action very cheap.
So, OP has answered it and I missed it, Github shares commit hash between Forks and parent repo
Yeah, and it can lead to fun things like this: https://news.ycombinator.com/item?id=24882921
> However, I realized I could get around that issue by forking the actions/docker repo and pushing a commit to my fork (since GitHub shares commits between forks and parent repositories).