Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to access raw github code by tag name?

Tags:

git

github

Does anyone know if it's possible to remotely retrieve raw github content defined by a tag?

Example:

https://raw.githubusercontent.com/user/repo/branch/tags/some-tag/file.ext

like image 487
tim Avatar asked May 23 '26 21:05

tim


1 Answers

Yes, the path format is /user/repo/tag-or-branch/file.

For example, Python's license with tag v3.8.5: /python/cpython/v3.8.5/LICENSE

and on the branch master: /python/cpython/master/LICENSE

like image 83
wjandrea Avatar answered May 25 '26 11:05

wjandrea



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!