Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab, find a commit using the revision ID?

Tags:

gitlab

How do you find the committed files in Gitlab, when you have the hashed revision ID? It doesn't seem to be working in the "search" field.

I have seen people raise requests for this in 2017 and 2018.

Please tell me this exists??

like image 769
user997112 Avatar asked Aug 01 '26 08:08

user997112


1 Answers

if you know the project you can always connect to the "commit" using the url:

https://gitlab.com/{{user-o-group}}/{{repo-slug}}/-/commit/{{revision-id}}

exemple : https://gitlab.com/michel47/bin/-/commit/b0d58fae

and if you want a specific file you can use its name with the "blob" url :

https://gitlab.com/{{user-o-group}}/{{repo-slug}}/-/blob/{{revision-id}}/{{filename}}

example : https://gitlab.com/michel47/bin/-/blob/b0d5/gitid

like image 144
Michel C. a.k.a Doctor I-T Avatar answered Aug 03 '26 05:08

Michel C. a.k.a Doctor I-T



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!