Y
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
brilee
1810 days ago
It's a space-saving mechanism; since forks are extremely common, sharing commit trees across all of GitHub makes the forking action very cheap.
link
namanaggarwal
1810 days ago
So, OP has answered it and I missed it, Github shares commit hash between Forks and parent repo
link
justusthane
1810 days ago
Yeah, and it can lead to fun things like this:
https://news.ycombinator.com/item?id=24882921
link
daniel-thompson
1810 days ago
> 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).
link